]> git.localhorst.tv Git - blank.git/blob - src/app/Environment.hpp
configurable asset and save path
[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
10 #include <string>
11
12
13 namespace blank {
14
15 class Window;
16
17 struct Environment {
18
19         Audio audio;
20         Viewport viewport;
21         Window &window;
22
23         Assets assets;
24         FrameCounter counter;
25
26         StateControl state;
27
28
29         explicit Environment(Window &win, const std::string &asset_path);
30
31 };
32
33 }
34
35 #endif