| 153 | } |
| 154 | |
| 155 | void draw(sf::RenderWindow& window, const sf::RenderStates& states = sf::RenderStates::Default) const |
| 156 | { |
| 157 | for (const auto& [_, joystickObject] : m_texts) |
| 158 | joystickObject.draw(window, states); |
| 159 | } |
| 160 | |
| 161 | private: |
| 162 | using Texts = std::unordered_map<std::string, JoystickObject>; |