GameState class

Derived classes

class HowToPlayState final
class LoadingState final
class LoseState final
class MainMenuState final
class PauseState final
class PlayState final
class WinState final

Constructors, destructors, conversion operators

~GameState() defaulted virtual
GameState() protected

Public functions

void update() pure virtual
void render() const pure virtual
auto enter() -> bool pure virtual
void resume() virtual
void pause() virtual
auto exit() -> bool pure virtual
auto getStateID() const -> std::string pure virtual
auto isLoaded() const -> bool
auto isPaused() const -> bool

Protected variables

bool is_loaded_
bool is_paused_