Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Functions
GameStateManager Namespace Reference

Functions

void SetState (GameState s)
 
GameState GetState ()
 
bool IsPaused ()
 

Function Documentation

◆ GetState()

GameState GameStateManager::GetState ( )
Examples
/home/runner/work/Olympe-Engine/Olympe-Engine/Source/World.h.

Definition at line 15 of file GameState.cpp.

Referenced by VideoGame::GetState(), IsPaused(), World::Process(), and SDL_AppIterate().

+ Here is the caller graph for this function:

◆ IsPaused()

bool GameStateManager::IsPaused ( )
inline

Definition at line 22 of file GameState.h.

References GameState_Paused, and GetState().

Referenced by VideoGame::IsPaused().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetState()

void GameStateManager::SetState ( GameState  s)

Definition at line 10 of file GameState.cpp.

References GetComponentTypeID_Static().

Referenced by VideoGame::SetState(), and VideoGame::VideoGame().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: