summaryrefslogtreecommitdiffstats
path: root/src/GlobalState.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2020-07-25 18:49:18 +0200
committerGitHub <noreply@github.com>2020-07-25 18:49:18 +0200
commit0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837 (patch)
tree3c760d4d981aad30fa151343c224d3ea366c99d9 /src/GlobalState.hpp
parentMerge pull request #36 from LaG1924/fix-windows-vs2019 (diff)
parentCompletely removed hardcoded list of blockstates (diff)
downloadAltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.tar
AltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.tar.gz
AltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.tar.bz2
AltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.tar.lz
AltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.tar.xz
AltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.tar.zst
AltCraft-0a2ba2cdb8e01bbd7e9e8ef1d0582ef6a892f837.zip
Diffstat (limited to 'src/GlobalState.hpp')
-rw-r--r--src/GlobalState.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/GlobalState.hpp b/src/GlobalState.hpp
deleted file mode 100644
index bc7224f..0000000
--- a/src/GlobalState.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include <memory>
-
-class NetworkClient;
-class GameState;
-class Render;
-
-enum class State {
- InitialLoading,
- MainMenu,
- Loading,
- Playing,
- Paused,
- Inventory,
- Chat,
-};
-
-struct GlobalState {
- static std::shared_ptr<GameState> GetGameState();
- static Render *GetRender();
- static void Exec();
- static State GetState();
- static void SetState(const State &newState);
-}; \ No newline at end of file