]> git.localhorst.tv Git - blank.git/blobdiff - src/app/Environment.hpp
state management and control
[blank.git] / src / app / Environment.hpp
diff --git a/src/app/Environment.hpp b/src/app/Environment.hpp
new file mode 100644 (file)
index 0000000..b465bfb
--- /dev/null
@@ -0,0 +1,33 @@
+#ifndef BLANK_APP_ENVIRONMENT_HPP_
+#define BLANK_APP_ENVIRONMENT_HPP_
+
+#include "Assets.hpp"
+#include "FrameCounter.hpp"
+#include "StateControl.hpp"
+#include "../audio/Audio.hpp"
+#include "../graphics/Viewport.hpp"
+
+
+namespace blank {
+
+class Window;
+
+struct Environment {
+
+       Audio audio;
+       Viewport viewport;
+       Window &window;
+
+       Assets assets;
+       FrameCounter counter;
+
+       StateControl state;
+
+
+       explicit Environment(Window &win);
+
+};
+
+}
+
+#endif