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::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:
|
||||
|
||||
Reference in New Issue
Block a user