Unity and Flutter apps Home Page
Work to create apps for generating revenue
|
Game state manager controls the GamePhase and when running the current scene number and last level scene number before winning the overall game. More...
Public Member Functions | |
void | ResetGameState () |
At start of play the game state is reset for the single instance of GameStateManager. | |
GameStateManager () | |
Setup GameStateManager when first (and only) instance initialisation. |
Properties | |
static GameStateManager | Singleton [get, set] |
int | LastLevel [get, set] |
Get/Set of LastLevel to be used on initialization. | |
GamePhase | GamePhase [get, set] |
Sets up Game Phase get/set. | |
int | SceneNum [get, set] |
get/set of SceneNum |
Game state manager controls the GamePhase and when running the current scene number and last level scene number before winning the overall game.
Managers.GameStateManager.GameStateManager | ( | ) |
Setup GameStateManager when first (and only) instance initialisation.
void Managers.GameStateManager.ResetGameState | ( | ) |
At start of play the game state is reset for the single instance of GameStateManager.
|
getset |
Sets up Game Phase get/set.
|
getset |
Get/Set of LastLevel to be used on initialization.
|
getset |
get/set of SceneNum
|
staticgetset |