SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
Game Class Reference

Main game class. More...

#include <game.h>

Public Member Functions

 Game ()
 constructor for the game class More...
 
void managedGames ()
 manages and changes the states of the game More...
 
WinValue enterGameLoop ()
 enter the main gameplay game loop More...
 
bool reloadConfig ()
 reload the configuration file for a new game More...
 
bool arePlayersDead ()
 tells if all players are dead More...
 

Detailed Description

Main game class.

Definition at line 34 of file game.h.

Constructor & Destructor Documentation

◆ Game()

Game::Game ( )

constructor for the game class

Definition at line 21 of file gameBasics.cpp.

Member Function Documentation

◆ arePlayersDead()

bool Game::arePlayersDead ( )

tells if all players are dead

Returns
true if all player are dead, false otherwise

Definition at line 176 of file gameBasics.cpp.

Here is the caller graph for this function:

◆ enterGameLoop()

WinValue Game::enterGameLoop ( )

enter the main gameplay game loop

Returns
the value of the winners can be the players, the invaders or god

Definition at line 116 of file gameBasics.cpp.

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

◆ managedGames()

void Game::managedGames ( )

manages and changes the states of the game

Definition at line 64 of file gameBasics.cpp.

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

◆ reloadConfig()

bool Game::reloadConfig ( )

reload the configuration file for a new game

Returns
false if an error occured, true elsewise

Definition at line 299 of file configManagement.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: