Go to the documentation of this file.
14 #ifndef SHAREDAMAPGROUP_H
15 #define SHAREDAMAPGROUP_H
30 virtual const char *
GetName() {
return "SharedAMapGroup"; }
virtual Map * GetMap() const
virtual MapAbstraction * GetMapAbstraction()
void UpdateLocation(Unit< xyLoc, tDirection, AbsMapEnvironment > *u, AbsMapEnvironment *, xyLoc &loc, bool success, AbsMapSimulationInfo *)
reset the location of a given unit
void SetVisibilityRadius(int _visibility)
virtual const char * GetName()
bool SeenBefore(int x, int y)
long GetMapWidth() const
return the width of the map
void StartNewTrial(StatCollection *stats)
Lets the unit group do what it needs to reset a trial.
A group which incrementally builds a map of the world as the units in the group explore the Graph.
int GetNewTileCountPerStep()
virtual void OpenGLDraw(const AbsMapEnvironment *, const AbsMapSimulationInfo *) const
int GetVisibilityRadius()
The StatCollection class is for collecting stats across different parts of the simulation.
bool Explored(int x, int y)
SharedAMapGroup(MapProvider *)
virtual bool Done()
Is the group done with their exploration?
void LogStats(StatCollection *stats)
bool Get(uint64_t index) const
A tile-based representation of the world.
virtual int GetNewTileCount()