diff --git a/src/game/ui/context/RecruitingMenu.hpp b/src/game/ui/context/RecruitingMenu.hpp index 9d47a58d486fd936f2f0c7ebc77194a06e932c77..2c8dba2ab181abe38c736b09d40aba00228198dc 100644 --- a/src/game/ui/context/RecruitingMenu.hpp +++ b/src/game/ui/context/RecruitingMenu.hpp @@ -55,13 +55,14 @@ class RecruitingMenu : public Scene void render(Engine& engine) override; private: - size_t m_selectedOption; // Currently selected option - std::vector<UnitTypeId> m_options; // All available options - int m_x; // x-position - int m_y; // y-position - const std::unordered_map<UnitTypeId, std::string> unitNames; // maps UnitIds to unnits name - std::unordered_map<int, UnitTypeId> cost2UnitId; // maps cost to unitIds - UnitTypeId m_selectedId; // Currently selected Unit + size_t m_selectedOption; // Currently selected option + std::vector<UnitTypeId> m_options; // All available options + int m_x; // x-position + int m_y; // y-position + const std::unordered_map<UnitTypeId, std::string> + m_unitNames; // maps UnitIds to unnits name + std::unordered_map<int, UnitTypeId> m_cost2UnitId; // maps cost to unitIds + UnitTypeId m_selectedId; // Currently selected Unit void selectSprite(); };