summaryrefslogtreecommitdiffstats
path: root/src/GlobalState.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-10-09 18:39:48 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commita81bcb1942ddad5989115061338e72211443e633 (patch)
treecb1cc6feadb7dfb49f96cbc9b2a4f2bfb9ad8488 /src/GlobalState.hpp
parent2017-10-07 (diff)
downloadAltCraft-a81bcb1942ddad5989115061338e72211443e633.tar
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.gz
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.bz2
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.lz
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.xz
AltCraft-a81bcb1942ddad5989115061338e72211443e633.tar.zst
AltCraft-a81bcb1942ddad5989115061338e72211443e633.zip
Diffstat (limited to 'src/GlobalState.hpp')
-rw-r--r--src/GlobalState.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/GlobalState.hpp b/src/GlobalState.hpp
new file mode 100644
index 0000000..29ab7a0
--- /dev/null
+++ b/src/GlobalState.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <memory>
+#include <thread>
+
+class NetworkClient;
+class GameState;
+class Render;
+
+struct GlobalState {
+ static GameState *GetGameState();
+ static Render *GetRender();
+ static void Exec();
+}; \ No newline at end of file