Level Manager Logic Diagram
Last updated
Last updated
Game-Events trigger execution of LevelManager methods:
NextLevel( ) implements FiniteStateMachine based on variable: LevelState: curLevel
GameData.onPlayerDataUpdate --> MiniGameOver( )
LevelManager: Timer complete --> ReloadMiniGame( )
PlayerController.onPlayerDied --> MiniGameOver( )
GameData.onPlayerDataUpdate --> NextLevel( )
PlayerController.onPlayerReachExit -->NextLevel( )
LevelManager: Timer complete --> ReloadMiniGame( )