From d4e9d6bbc0abe66acb149a358a25c9a0f385ce74 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 21 Apr 2019 18:06:55 +0500 Subject: Renamed GlobalState to Game --- src/GlobalState.hpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/GlobalState.hpp (limited to 'src/GlobalState.hpp') 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 - -class NetworkClient; -class GameState; -class Render; - -enum class State { - InitialLoading, - MainMenu, - Loading, - Playing, - Paused, - Inventory, - Chat, -}; - -struct GlobalState { - static std::shared_ptr GetGameState(); - static Render *GetRender(); - static void Exec(); - static State GetState(); - static void SetState(const State &newState); -}; \ No newline at end of file -- cgit v1.2.3