Classes | |
struct | GameState |
Enumerations | |
enum | Scene { MAIN_MENU = 0 , SETTINGS_MENU = 1 , IN_GAME = 2 } |
enum | Turn { SMALL_BALL = 0 , BIG_BALL = 1 } |
Functions | |
void | DrawColliders () |
void | ReinitializeScene () |
void | Initialize () |
Initializes the program. More... | |
void | ChangeScene (Scene scene) |
An API function, which changes the current scene. More... | |
void | Quit () |
An API function, which triggers a boolean telling the program it should quit;. More... | |
void | Update () |
Steps or updates the program. More... | |
void | Deinitialize () |
Deinitializes the program. More... | |
bool | ShouldQuit () |
Similar to the WindowShouldClose() function in raylib.h. More... | |
void | ToggleAudio () |
An API function, which turns audio on or off. More... | |
bool | IsAudioOn () |
An API function which checks the game manager's last stored master volume and tells if the audio is on or not. More... | |
Variables | |
GameState | state |
enum GameManager::Scene |
enum GameManager::Turn |
void GameManager::ChangeScene | ( | Scene | scene | ) |
An API function, which changes the current scene.
scene | This describes the current scene |
void GameManager::Deinitialize | ( | ) |
Deinitializes the program.
void GameManager::DrawColliders | ( | ) |
void GameManager::Initialize | ( | ) |
Initializes the program.
bool GameManager::IsAudioOn | ( | ) |
An API function which checks the game manager's last stored master volume and tells if the audio is on or not.
void GameManager::Quit | ( | ) |
An API function, which triggers a boolean telling the program it should quit;.
void GameManager::ReinitializeScene | ( | ) |
bool GameManager::ShouldQuit | ( | ) |
Similar to the WindowShouldClose() function in raylib.h.
void GameManager::ToggleAudio | ( | ) |
An API function, which turns audio on or off.
void GameManager::Update | ( | ) |
Steps or updates the program.
GameState GameManager::state |