#include <movementmanager.h>
Public Member Functions | |
| MovementManager (const GraphicManager *gm, const Map *map) | |
| const int | Add (Movement *const pNew) |
| void | Remove (const int ciIndex=-1) |
| void | Move (const int ciIndex=-1) |
| void | Display (const int ciIndex=-1) |
Private Attributes | |
| Movement * | tabmvt [OC_MOVEMENT_MAX] |
| const GraphicManager * | pcGraphicMgr |
| const Map * | pcMap |
Definition at line 37 of file movementmanager.h.
|
|
Send the move order to the specified or all the movement object. The object which can not move anymore is removed from the manager and destroyed automatically by calling "delete" on it. Definition at line 94 of file movementmanager.cpp. |
|
|
Explicitly remove the specified or all the movement object from the manager. The removed objects are destroyed by calling "delete" on them. Definition at line 69 of file movementmanager.cpp. Referenced by City::_Load(). |
1.4.2