]> git.localhorst.tv Git - blank.git/blob - src/app/Environment.hpp
use collision structures for ray tests
[blank.git] / src / app / Environment.hpp
1 #ifndef BLANK_APP_ENVIRONMENT_HPP_
2 #define BLANK_APP_ENVIRONMENT_HPP_
3
4 #include "Assets.hpp"
5 #include "FrameCounter.hpp"
6 #include "StateControl.hpp"
7 #include "../audio/Audio.hpp"
8 #include "../graphics/Viewport.hpp"
9 #include "../ui/Keymap.hpp"
10
11 #include <string>
12
13
14 namespace blank {
15
16 class Window;
17
18 struct Environment {
19
20         Audio audio;
21         Viewport viewport;
22         Window &window;
23
24         Assets assets;
25         Keymap keymap;
26         FrameCounter counter;
27
28         StateControl state;
29
30
31         explicit Environment(Window &win, const std::string &asset_path);
32
33 };
34
35 }
36
37 #endif