Creates a single instance GamePlayManager controlling GameStatus.
More...
Creates a single instance GamePlayManager controlling GameStatus.
◆ AnyLivesLeft()
bool Managers.GamePlayManager.AnyLivesLeft |
( |
| ) |
|
Are any lives remaining.
- Returns
- bool
◆ GetGameDifficulty()
◆ GetGameStatus()
GameStatus Managers.GamePlayManager.GetGameStatus |
( |
| ) |
|
◆ GetLives()
int Managers.GamePlayManager.GetLives |
( |
| ) |
|
Get the number of lives left.
- Returns
- int
◆ InitGame()
void Managers.GamePlayManager.InitGame |
( |
GameDifficulty | pGameDifficulty | ) |
|
Initializes the GameStatus of the game according to GameDifficulty parameter And informs subscribers of the state change.
- Parameters
-
◆ RemoveLife()
int Managers.GamePlayManager.RemoveLife |
( |
| ) |
|
Removes a life from GameStatus and returns the number of lives remaining.
- Returns
- int
◆ Start()
void Managers.GamePlayManager.Start |
( |
| ) |
|
◆ UpdateTimers()
void Managers.GamePlayManager.UpdateTimers |
( |
| ) |
|
Updates the time remaining Tells subscribers if the GameStatus has changed If out of time it causes the WinLoseMenu to be displayed.
◆ GameStatus
◆ Singleton
The documentation for this class was generated from the following file: