]> git.localhorst.tv Git - blank.git/blob - src/app/State.hpp
try to get every chunk change saved to disk
[blank.git] / src / app / State.hpp
1 #ifndef BLANK_APP_STATE_HPP_
2 #define BLANK_APP_STATE_HPP_
3
4 #include <SDL.h>
5
6
7 namespace blank {
8
9 class Viewport;
10
11 struct State {
12
13         virtual void Handle(const SDL_Event &) = 0;
14
15         virtual void Update(int dt) = 0;
16
17         virtual void Render(Viewport &) = 0;
18
19 };
20
21 };
22
23 #endif