#include <object.hpp>
Inheritance diagram for Object:

Keeps track of position and what to update clients about.
Definition at line 46 of file object.hpp.
Public Member Functions | |
| Object (int type) | |
| Constructor. | |
| void | setPosition (const Point &p) |
| Sets the coordinates. | |
| Point const & | getPosition () const |
| Gets the coordinates. | |
| int | getUpdateFlags () const |
| Gets what changed in the object. | |
| void | raiseUpdateFlags (int n) |
| Sets some changes in the object. | |
| void | clearUpdateFlags () |
| Clears changes in the object. | |
Private Attributes | |
| char | mUpdateFlags |
| Changes in object status. | |
| Point | mPos |
| Coordinates. | |
|
|
Constructor.
Definition at line 52 of file object.hpp. |
|
|
Clears changes in the object.
Definition at line 88 of file object.hpp. |
|
|
Gets the coordinates.
Reimplemented in Character. Definition at line 70 of file object.hpp. |
|
|
Gets what changed in the object.
Definition at line 76 of file object.hpp. |
|
|
Sets some changes in the object.
Definition at line 82 of file object.hpp. |
|
|
Sets the coordinates.
Reimplemented in Character. Definition at line 62 of file object.hpp. |
|
|
Coordinates.
Definition at line 93 of file object.hpp. |
|
|
Changes in object status.
Definition at line 92 of file object.hpp. |
1.3.9.1