1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Moved roads and rivers to TerrainTypeHandler, by analogy to TerrainType.

This commit is contained in:
Tomasz Zieliński
2022-09-23 16:24:01 +02:00
parent 6aaf77812b
commit ebe45d512d
20 changed files with 392 additions and 190 deletions

View File

@@ -44,7 +44,7 @@ public:
bool isOnMap(const int3 & tile) const;
void setOccupied(const int3 &tile, ETileType::ETileType state);
void setRoad(const int3 &tile, const std::string & roadType);
void setRoad(const int3 &tile, TRoad roadType);
TileInfo getTile(const int3 & tile) const;