#pragma once #include "GuiWidget.h" #include namespace td { namespace gui { class TowerPlacePopup : public GuiWidget { private: glm::vec2 m_ClickWorldPos; public: TowerPlacePopup(client::Client* client); virtual void render(); void setClickPos(const glm::vec2& worldPos); private: static constexpr float m_TowerPopupTileWidth = 200.0f; static constexpr float m_TowerPopupTileHeight = 200.0f; static constexpr float m_PlaceTowerButtonWidth = 150.0f; static constexpr float m_PlaceTowerButtonHeight = 35.0f; }; } // namespace gui } // namespace td