#include <Entity.h>
Public Types | |
| enum | Color { COLOR_UNKNOWN, PURE_RED, PURE_GREEN, PURE_BLUE } |
| enum | Type { TYPE_UNKNOWN, ROBOT, GOAL, SUBJECT } |
| Note: Still undecided weither we use a class hierarchy or this Type enum. More... | |
Public Member Functions | |
| Entity (void) | |
| virtual | ~Entity (void) |
| short | getX (void) |
| short | getY (void) |
| void | setX (short _x) |
| void | setY (short _y) |
| short | getAngle (void) |
| void | setAngle (short _angle) |
| Color | getColor (void) |
| void | setColor (Color _color) |
| Type | getType (void) |
| void | setType (Type _type) |
| bool | operator< (Entity &) |
Definition at line 4 of file Entity.h.
|
|
|
|
|
Note: Still undecided weither we use a class hierarchy or this Type enum. For RealTime systems I lean towards the enum solution. |
|
|
Definition at line 8 of file Entity.cpp. References COLOR_UNKNOWN, and TYPE_UNKNOWN. |
|
|
Definition at line 28 of file Entity.cpp. |
|
|
Definition at line 77 of file Entity.cpp. |
|
|
Definition at line 35 of file Entity.cpp. |
|
|
Definition at line 98 of file Entity.cpp. |
|
|
Definition at line 49 of file Entity.cpp. |
|
|
Definition at line 56 of file Entity.cpp. |
|
|
Definition at line 17 of file Entity.cpp. References y. |
|
|
Definition at line 84 of file Entity.cpp. |
|
|
Definition at line 42 of file Entity.cpp. Referenced by find_color_entities(). |
|
|
Definition at line 91 of file Entity.cpp. Referenced by find_color_entities(). |
|
|
Definition at line 63 of file Entity.cpp. Referenced by find_color_entities(). |
|
|
Definition at line 70 of file Entity.cpp. Referenced by find_color_entities(). |
1.4.6