fix: change tower world storage type

This commit is contained in:
2021-09-19 18:34:22 +02:00
parent fee1ab6638
commit d6dd2ce4a9

View File

@@ -111,6 +111,7 @@ typedef std::vector<MobPtr> MobList;
typedef std::array<Color, 2> SpawnColorPalette;
typedef std::shared_ptr<Tower> TowerPtr;
class World {
protected:
@@ -126,7 +127,7 @@ protected:
MobList m_Mobs;
std::vector<Tower> m_Towers;
std::vector<TowerPtr> m_Towers;
Game* m_Game;
public: