mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
A variety of suggested style tweaks
This commit is contained in:
@@ -61,17 +61,17 @@ ETileType::ETileType TileInfo::getTileType() const
|
||||
return occupied;
|
||||
}
|
||||
|
||||
TTerrain TileInfo::getTerrainType() const
|
||||
TTerrainId TileInfo::getTerrainType() const
|
||||
{
|
||||
return terrain;
|
||||
}
|
||||
|
||||
void TileInfo::setTerrainType(TTerrain type)
|
||||
void TileInfo::setTerrainType(TTerrainId type)
|
||||
{
|
||||
terrain = type;
|
||||
}
|
||||
|
||||
void TileInfo::setRoadType(TRoad type)
|
||||
void TileInfo::setRoadType(TRoadId type)
|
||||
{
|
||||
roadType = type;
|
||||
// setOccupied(ETileType::FREE);
|
||||
|
||||
Reference in New Issue
Block a user