|
Public Member Functions |
| sharedAMapGroup (mapProvider *) |
| ~sharedAMapGroup () |
virtual tDirection | makeMove (unit *u, mapProvider *mp, reservationProvider *rp, simulationInfo *simInfo) |
virtual void | openGLDraw (mapProvider *, simulationInfo *) |
virtual Map * | getMap () |
virtual mapAbstraction * | getMapAbstraction () |
virtual int | getNewTileCount () |
virtual void | updateLocation (unit *, mapProvider *m, int _x, int _y, bool, simulationInfo *) |
| reset the location of a given unit
|
virtual bool | done () |
| Is the group done with their exploration?
|
void | startNewTrial (statCollection *stats) |
| Lets the unit group do what it needs to reset a trial.
|
void | logStats (statCollection *stats) |
void | setVisibilityRadius (int _visibility) |
int | getVisibilityRadius () |
bool | explored (int x, int y) |
bool | explored (unsigned int _node) |
int | getNewTileCountPerStep () |
bool | seenBefore (int x, int y) |
Protected Attributes |
mapAbstraction * | aMap |
Map * | map |
bitVector * | seen |
int | visRadius |
bool | sawNewLand |
int | newTileCount |
int | newTileCountPerTrial |