5 #include "Definitions.h" 105 float m_distNearestUnpathable;
bool isNeutral()
Check if the tile contain neutral unit, e.g. gas, miniral and destroable.
TileTerrain getTileTerrain()
Says what type of terrain it is on this tile, see TileTerrain for alteritives.
Definition: Tile.cpp:10
float getDistNearestUnpathable() const
Get the distance to nearest unpathable.
Definition: Tile.cpp:33
size_t getRegionId()
Get the region id this tile is in.
Definition: Tile.cpp:42
void setDistNearestUnpathable(float dist)
Set a distance to the nearest unpathable tile.
Definition: Tile.cpp:29
Definition: ChokePoint.cpp:3
A tile is area that has size 1x1 within SCII maps.
Definition: Tile.h:24
void setRegionId(size_t regionId)
Set the region id this tile belong to.
Definition: Tile.cpp:38
void setTerrainHeight(float height)
Sets the z-axis value for the tile.
Definition: Tile.cpp:20
float getTerrainHeight()
Get the z-axis value for the tile.
Definition: Tile.cpp:15
void setTileTerrain(TileTerrain &terrain)
If there exist build or wall.
Definition: Tile.cpp:24