#include <unitcommandcenter.h>
Inheritance diagram for UnitCommandCenter::
Public Methods | |
UnitCommandCenter::UnitCommandCenter (Game *pgame, int myplayernum, int myunitnum) | |
virtual | ~UnitCommandCenter () |
virtual int | action (int actionnum, Vector destpos) |
virtual int | render () |
virtual int | step () |
virtual void | setUnitPosition (Vector pos) |
virtual Vector & | getUnitPosition (void) |
Private Attributes | |
int | playerNum |
tgl_object * | model |
Renderer * | renderer |
Game * | game |
Ground * | ground |
Player ** | players |
int | unitNum |
|
|
|
|
|
Set orders for unit, implementation required in all units.
Reimplemented from Unit. |
|
get unit position, implementation required in all units.
Reimplemented from Unit. |
|
Reimplemented from Unit. |
|
set position to pos, implementation required in all units.
Reimplemented from Unit. |
|
Reimplemented from Unit. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|