Unity and Flutter apps Home Page
Work to create apps for generating revenue
Loading...
Searching...
No Matches
Managers.GameStateManager Class Reference

Game state manager controls the GamePhase and when running the current scene number and last level scene number before winning the overall game. More...

Inheritance diagram for Managers.GameStateManager:

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

Detailed Description

Game state manager controls the GamePhase and when running the current scene number and last level scene number before winning the overall game.

Constructor & Destructor Documentation

◆ GameStateManager()

Managers.GameStateManager.GameStateManager ( )

Setup GameStateManager when first (and only) instance initialisation.

Member Function Documentation

◆ ResetGameState()

void Managers.GameStateManager.ResetGameState ( )

At start of play the game state is reset for the single instance of GameStateManager.

Property Documentation

◆ GamePhase

GamePhase Managers.GameStateManager.GamePhase
getset

Sets up Game Phase get/set.

◆ LastLevel

int Managers.GameStateManager.LastLevel
getset

Get/Set of LastLevel to be used on initialization.

◆ SceneNum

int Managers.GameStateManager.SceneNum
getset

get/set of SceneNum

◆ Singleton

GameStateManager Managers.GameStateManager.Singleton
staticgetset

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