feat: place towers

This commit is contained in:
2021-09-19 19:20:08 +02:00
parent 3f53d32e44
commit 10a1fac992
6 changed files with 69 additions and 18 deletions

View File

@@ -141,6 +141,8 @@ public:
void spawnMobAt(MobID id, MobType type, std::uint8_t level, PlayerID sender, float x, float y, Direction dir);
void placeTowerAt(TowerType type, std::int32_t x, std::int32_t y, PlayerID builder);
TilePtr getTile(std::int32_t x, std::int32_t y) const;
const TowerTileColorPalette& getTowerTileColorPalette() const { return m_TowerPlacePalette; }