fix: change tower world storage type
This commit is contained in:
@@ -111,6 +111,7 @@ typedef std::vector<MobPtr> MobList;
|
|||||||
|
|
||||||
typedef std::array<Color, 2> SpawnColorPalette;
|
typedef std::array<Color, 2> SpawnColorPalette;
|
||||||
|
|
||||||
|
typedef std::shared_ptr<Tower> TowerPtr;
|
||||||
|
|
||||||
class World {
|
class World {
|
||||||
protected:
|
protected:
|
||||||
@@ -126,7 +127,7 @@ protected:
|
|||||||
|
|
||||||
MobList m_Mobs;
|
MobList m_Mobs;
|
||||||
|
|
||||||
std::vector<Tower> m_Towers;
|
std::vector<TowerPtr> m_Towers;
|
||||||
|
|
||||||
Game* m_Game;
|
Game* m_Game;
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user