moved TowerUpgradePopop into its own file

This commit is contained in:
2023-01-02 15:56:20 +01:00
parent 512fb23d0e
commit 1200a6e087
4 changed files with 139 additions and 69 deletions

View File

@@ -6,6 +6,7 @@
#include "render/VertexCache.h"
#include "render/gui/TowerPlacePopup.h"
#include "render/gui/TowerUpgradePopup.h"
#include "render/gui/MobTooltip.h"
#include "render/gui/CastleTooltip.h"
@@ -38,6 +39,7 @@ private:
VertexCache m_TowersCache;
std::unique_ptr<gui::TowerPlacePopup> m_TowerPlacePopup;
std::unique_ptr<gui::TowerUpgradePopup> m_TowerUpgradePopup;
std::unique_ptr<gui::MobTooltip> m_MobTooltip;
std::unique_ptr<gui::CastleTooltip> m_CastleTooltip;
public:
@@ -67,7 +69,6 @@ private:
void RenderMobs() const;
void RenderTileSelect() const;
void RenderPopups();
void RenderTowerUpgradePopup();
void RenderMobTooltip() const;
void RenderCastleTooltip() const;
void DetectClick();