]> git.localhorst.tv Git - gong.git/blob - src/app/HeadlessEnvironment.hpp
code, assets, and other stuff stolen from blank
[gong.git] / src / app / HeadlessEnvironment.hpp
1 #ifndef GONG_APP_HEADLESSENVIRONMENT_HPP_
2 #define GONG_APP_HEADLESSENVIRONMENT_HPP_
3
4 #include "AssetLoader.hpp"
5 #include "FrameCounter.hpp"
6 #include "StateControl.hpp"
7
8 #include <string>
9
10
11 namespace gong {
12 namespace app {
13
14 struct HeadlessEnvironment {
15
16         struct Config {
17                 std::string asset_path;
18                 std::string save_path;
19         } config;
20
21         AssetLoader loader;
22
23         FrameCounter counter;
24
25         StateControl state;
26
27
28         explicit HeadlessEnvironment(const Config &);
29
30 };
31
32 }
33 }
34
35 #endif