#include <iostream>
#include <raylib.h>
#include "config.h"
#include "drawable.hpp"
#include "sprite.hpp"
#include "table.hpp"
#include "main_menu.hpp"
#include "settings_menu.hpp"
#include "game_scene.hpp"
#include <physac.h>
Go to the source code of this file.
Classes | |
struct | GameManager::GameState |
Namespaces | |
namespace | GameManager |
Enumerations | |
enum | GameManager::Scene { GameManager::MAIN_MENU = 0 , GameManager::SETTINGS_MENU = 1 , GameManager::IN_GAME = 2 } |
enum | GameManager::Turn { GameManager::SMALL_BALL = 0 , GameManager::BIG_BALL = 1 } |
Functions | |
void | GameManager::Initialize () |
Initializes the program. More... | |
void | GameManager::Deinitialize () |
Deinitializes the program. More... | |
void | GameManager::Update () |
Steps or updates the program. More... | |
bool | GameManager::ShouldQuit () |
Similar to the WindowShouldClose() function in raylib.h. More... | |
void | GameManager::Quit () |
An API function, which triggers a boolean telling the program it should quit;. More... | |
void | GameManager::ChangeScene (Scene scene) |
An API function, which changes the current scene. More... | |
void | GameManager::ToggleAudio () |
An API function, which turns audio on or off. More... | |
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. More... | |