#include <unitmarine.h>
Inheritance diagram for UnitMarine::
Public Methods | |
UnitMarine::UnitMarine (Game *pgame, int myplayernum, int myunitnum) | |
virtual | ~UnitMarine () |
virtual int | action (int actionnum, Vector destpos) |
virtual int | render () |
virtual int | step () |
virtual void | setUnitPosition (Vector pos) |
virtual Vector & | getUnitPosition (void) |
Private Methods | |
void | findTarget () |
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. |
|
Try to find a new target.
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|