]> git.localhorst.tv Git - blank.git/blob - src/client/InitialState.hpp
reorganized client state
[blank.git] / src / client / InitialState.hpp
1 #ifndef BLANK_CLIENT_INITIALSTATE_HPP_
2 #define BLANK_CLIENT_INITIALSTATE_HPP_
3
4 #include "../app/State.hpp"
5 #include "../ui/FixedText.hpp"
6
7
8 namespace blank {
9 namespace client {
10
11 class MasterState;
12
13 class InitialState
14 : public State {
15
16 public:
17         explicit InitialState(MasterState &);
18
19         void OnEnter() override;
20
21         void Handle(const SDL_Event &) override;
22         void Update(int dt) override;
23         void Render(Viewport &) override;
24
25 private:
26         MasterState &master;
27         FixedText message;
28
29 };
30
31 }
32 }
33
34 #endif