GameStateManager class final

Public static functions

static auto Instance() -> GameStateManager&

Constructors, destructors, conversion operators

GameStateManager(GameStateManager const&) deleted

Public functions

auto operator=(GameStateManager const&) -> GameStateManager& deleted
void update()
void render() const
void pushState(std::unique_ptr<GameState> state)
void changeState(std::unique_ptr<GameState> state)
void popState()
void clean()
auto getCurrentState() const -> GameState*
auto isLoading() const -> bool
void setLoading(bool is_loading)
void loading()