summaryrefslogtreecommitdiffstats
path: root/src/ThreadGame.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ThreadGame.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ThreadGame.hpp b/src/ThreadGame.hpp
new file mode 100644
index 0000000..81d135f
--- /dev/null
+++ b/src/ThreadGame.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "Thread.hpp"
+#include "GameState.hpp"
+#include "Event.hpp"
+
+class ThreadGame: Thread {
+ GameState *gs = nullptr;
+ GlobalState state = GlobalState::InitialLoading;
+public:
+ ThreadGame();
+ ~ThreadGame();
+ void Execute() override;
+}; \ No newline at end of file