HOG2
|
#include <HumanUnit.h>
Public Member Functions | |
humanUnit (int x, int y, unit *target) | |
tDirection | makeMove (MapProvider *mp, reservationProvider *rp, SimulationInfo *simInfo) |
void | setNextDirection (tDirection dir) |
Private Attributes | |
tDirection | nextDir |
Definition at line 17 of file HumanUnit.h.
humanUnit::humanUnit | ( | int | x, |
int | y, | ||
unit * | target | ||
) |
Definition at line 14 of file HumanUnit.cpp.
tDirection humanUnit::makeMove | ( | MapProvider * | mp, |
reservationProvider * | rp, | ||
SimulationInfo * | simInfo | ||
) |
Definition at line 21 of file HumanUnit.cpp.
References nextDir.
|
inline |
Definition at line 23 of file HumanUnit.h.
References nextDir.
|
private |
Definition at line 25 of file HumanUnit.h.
Referenced by makeMove(), and setNextDirection().