From d6dd2ce4a9c4a073c5b99124e25a8ec3e835af19 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sun, 19 Sep 2021 18:34:22 +0200 Subject: [PATCH] fix: change tower world storage type --- include/game/World.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/game/World.h b/include/game/World.h index edc4b19..413cfd3 100644 --- a/include/game/World.h +++ b/include/game/World.h @@ -111,6 +111,7 @@ typedef std::vector MobList; typedef std::array SpawnColorPalette; +typedef std::shared_ptr TowerPtr; class World { protected: @@ -126,7 +127,7 @@ protected: MobList m_Mobs; - std::vector m_Towers; + std::vector m_Towers; Game* m_Game; public: