Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
eye.h
Go to the documentation of this file.
1 #ifndef ROGUELIKE_ALG_LOS_EYE_H_
2 #define ROGUELIKE_ALG_LOS_EYE_H_
3 
4 // Inheritance
5 // (none)
6 
7 // External Dependencies
8 #include <ugdk/math/frame.h>
9 #include <ugdk/math/integer2D.h>
10 #include "utils/integer2Dutils.h"
11 
12 // Internal Dependencies
13 // (none)
14 
15 // Forward Declarations
16 // (none)
17 
18 namespace game {
19 namespace alg {
20 namespace los {
21 
22 struct Eye {
23  Eye(const ugdk::math::Integer2D& coordinates, const ugdk::Frame& frame);
24  Eye(const ugdk::math::Integer2D& coordinates, double left, double top, double right, double bottom);
25  Eye(int x, int y, const ugdk::Frame& frame);
26  Eye(int x, int y, double left, double top, double right, double bottom);
27  ~Eye() {}
28 
29  ugdk::math::Integer2D coords;
30  ugdk::Frame frame;
31 };
32 
33 bool operator<(const Eye& lhs, const Eye& rhs);
34 
35 } // namespace los
36 } // namespace alg
37 } // namespace game
38 
39 #endif // ROGUELIKE_ALG_LOS_EYE_H_
Eye(const ugdk::math::Integer2D &coordinates, const ugdk::Frame &frame)
Definition: aim.cc:15
ugdk::Frame frame
Definition: eye.h:30
bool operator<(const Eye &lhs, const Eye &rhs)
Definition: eye.cc:28
Definition: eye.h:22
ugdk::math::Integer2D coords
Definition: eye.h:29
~Eye()
Definition: eye.h:27