DoopelPonger
|
Parent class for all steps in the tutorial. The TutorialStep can be thought of as a glorified linked list with each step pointing to the next step in the tutorial. The tutorial can have two next steps depending on the game mode, single player and cooperative,. More...
Public Member Functions | |
TutorialStep | GetNextStep () |
GameObject [] | Init (TutorialManager tutorialManager, BoundriesCreator.GameMode gameMode) |
Set up any information need for the step. Method is call as soon as the step becomes active. More... | |
abstract bool | TutorialUpdate (float deltaTime) |
Update tick of the tutorial. More... | |
abstract IDictionary< string, System.Object > | Teardown () |
Delete any objects that were created specifically for the duration of the step. More... | |
Public Attributes | |
TutorialStep | singlePlayerNextStep |
TutorialStep | coopPlayerNextStep |
Protected Member Functions | |
abstract GameObject [] | ChildInit (TutorialManager tutorialManager, BoundriesCreator.GameMode gameMode) |
Set up any information need for the step. Method is call as soon as the step becomes active. More... | |
Parent class for all steps in the tutorial. The TutorialStep can be thought of as a glorified linked list with each step pointing to the next step in the tutorial. The tutorial can have two next steps depending on the game mode, single player and cooperative,.
|
protectedpure virtual |
Set up any information need for the step. Method is call as soon as the step becomes active.
tutorialManager | The brains of the tutorial |
gameMode | The mode of the tutorial |
Implemented in TutorialShowText, TutorialPlayerShield, TutorialPlayerMove, TutorialShowTextWithPlayerListening, TutorialSpawnPlayers, TutorialBringTextImageUp, TutorialSpawnSinglePlayer, TutorialPlayerUsePowerUp, TutorialStartGame, TutorialTextSubstituteControls, TutorialBringTextImageDown, TutorialBringTextImageOnlyDown, TutorialBringTextImageOnlyUp, TutorialPlayersGivePowerUp, TutorialWait, TutorialHealPlayers, TutorialMovePlayerToCenter, and TutorialSpawnWalls.
TutorialStep TutorialStep.GetNextStep | ( | ) |
GameObject [] TutorialStep.Init | ( | TutorialManager | tutorialManager, |
BoundriesCreator.GameMode | gameMode | ||
) |
Set up any information need for the step. Method is call as soon as the step becomes active.
tutorialManager | The brains of the tutorial |
gameMode | The mode of the tutorial |
|
pure virtual |
Delete any objects that were created specifically for the duration of the step.
Implemented in TutorialPlayerShield, TutorialShowText, TutorialSpawnPlayers, TutorialPlayerMove, TutorialBringTextImageUp, TutorialSpawnSinglePlayer, TutorialPlayersGivePowerUp, TutorialStartGame, TutorialPlayerUsePowerUp, TutorialBringTextImageDown, TutorialBringTextImageOnlyDown, TutorialBringTextImageOnlyUp, TutorialMovePlayerToCenter, TutorialSpawnWalls, TutorialHealPlayers, and TutorialWait.
|
pure virtual |
Update tick of the tutorial.
deltaTime | The time since the last time this method was called. |
Implemented in TutorialPlayerShield, TutorialPlayerMove, TutorialSpawnPlayers, TutorialSpawnSinglePlayer, TutorialSpawnWalls, TutorialBringTextImageUp, TutorialPlayersGivePowerUp, TutorialPlayerUsePowerUp, TutorialShowText, TutorialStartGame, TutorialBringTextImageDown, TutorialBringTextImageOnlyDown, TutorialBringTextImageOnlyUp, TutorialMovePlayerToCenter, TutorialHealPlayers, and TutorialWait.
TutorialStep TutorialStep.coopPlayerNextStep |
Next step to transition to if the game mode is cooperative.
TutorialStep TutorialStep.singlePlayerNextStep |
Next step to transition to if the game mode is single player.