Buckets:
| class Menu { | |
| public: | |
| Menu(RenderWindow &_window, const sf::Vector2f& position); | |
| void moveUp(); | |
| void moveDown(); | |
| std::string getSelectedOption() const; | |
| void render() const; | |
| void update(enum GameState &gameState, Vector2f position); | |
| private: | |
| sf::Vector2f m_position; | |
| std::vector<std::string> m_options; | |
| std::vector<sf::Text> m_optionTexts; | |
| int m_selectedOptionIndex; | |
| RenderWindow *window; | |
| Font *m_font; | |
| Texture *Bacground; | |
| Sprite *backgroundSprite; | |
| void updateOptionTexts(); | |
| void pollEvents(enum GameState &gameState); | |
| }; | |
Xet Storage Details
- Size:
- 709 Bytes
- Xet hash:
- 3a41fc788698ea71bfbf68c2fd769f0edb38bfc742c3de88f6611bf532f1108e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.