SHOW:
|
|
- or go back to the newest paste.
1 | - | #ifndef PLAYSTATE_HPP |
1 | + | #ifndef OPTIONSMENUSTATE_HPP |
2 | - | #define PLAYSTATE_HPP |
2 | + | #define OPTIONSMENUSTATE_HPP |
3 | ||
4 | #include "GameState.hpp" | |
5 | ||
6 | #include <SFML/Graphics.hpp> | |
7 | #include <SFML/Graphics/Color.hpp> | |
8 | #include <SFML/Graphics/RectangleShape.hpp> | |
9 | #include <SFML/Graphics/Sprite.hpp> | |
10 | #include <SFML/Graphics/Texture.hpp> | |
11 | #include <SFML/Window.hpp> | |
12 | #include <SFML/System.hpp> | |
13 | #include <SFML/Graphics/Font.hpp> | |
14 | #include <SFML/Graphics/Text.hpp> | |
15 | ||
16 | class StateMachine; | |
17 | ||
18 | namespace sf | |
19 | { | |
20 | class RenderWindow; | |
21 | } | |
22 | ||
23 | class OptionsMenuState : public GameState | |
24 | { | |
25 | public: | |
26 | OptionsMenuState(StateMachine& machine, sf::RenderWindow& window, bool replace = true); | |
27 | ||
28 | void pause(); | |
29 | void resume(); | |
30 | ||
31 | void update(); | |
32 | void draw(); | |
33 | ||
34 | private: | |
35 | bool click; | |
36 | }; | |
37 | ||
38 | #endif // PLAYSTATE_HPP |