DoopelPonger
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
TutorialManager Class Reference

Top level orchestrator during the tutorial. Spawns MrPaddle, the UI, and anything necessary to start the tutorial. It also keeps track of what step the player is on. More...

Inheritance diagram for TutorialManager:
Inheritance graph
[legend]
Collaboration diagram for TutorialManager:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initalize all things needed during the tutorial. More...
 
void FixedUpdate ()
 Trigger the TutorailUpdate method for the currently active step. More...
 
void ChangeStep (TutorialStep stepToChangeTo)
 Change the currently active step. Used to force a transition from the currently active tutorial step. More...
 
void CleanUp ()
 Remove everything created during the Awake method. Called when the tutorial is over. More...
 
BoundriesCreator.GameMode GetGameMode ()
 

Public Attributes

GameObject mrPaddlePrefab
 
TutorialStep initialStep
 
TutorialTextUI tutorialText
 
CoopPowerUpIcon [] playerIcons
 
IDictionary< string, System.Object > tutorialMetadata
 
GameObject mrPaddle
 

Static Public Attributes

static readonly string PLAYER_MOVED_UP_FIRST = "PlayerMovedUpFirst"
 

Detailed Description

Top level orchestrator during the tutorial. Spawns MrPaddle, the UI, and anything necessary to start the tutorial. It also keeps track of what step the player is on.

Member Function Documentation

◆ Awake()

void TutorialManager.Awake ( )

Initalize all things needed during the tutorial.

◆ ChangeStep()

void TutorialManager.ChangeStep ( TutorialStep  stepToChangeTo)

Change the currently active step. Used to force a transition from the currently active tutorial step.

Parameters
stepToChangeToThe new tutorial step.

◆ CleanUp()

void TutorialManager.CleanUp ( )

Remove everything created during the Awake method. Called when the tutorial is over.

◆ FixedUpdate()

void TutorialManager.FixedUpdate ( )

Trigger the TutorailUpdate method for the currently active step.

◆ GetGameMode()

BoundriesCreator.GameMode TutorialManager.GetGameMode ( )
Returns
The gamemode

Member Data Documentation

◆ initialStep

TutorialStep TutorialManager.initialStep

The first step of the tutorial.

◆ mrPaddle

GameObject TutorialManager.mrPaddle

The instantiated teacher object.

◆ mrPaddlePrefab

GameObject TutorialManager.mrPaddlePrefab

The teacher prefab.

◆ PLAYER_MOVED_UP_FIRST

readonly string TutorialManager.PLAYER_MOVED_UP_FIRST = "PlayerMovedUpFirst"
static

◆ playerIcons

CoopPowerUpIcon [] TutorialManager.playerIcons

The UI icons for the players when they have power ups.

◆ tutorialMetadata

IDictionary<string, System.Object> TutorialManager.tutorialMetadata

All data that needs to be carried across steps of the tutorial.

◆ tutorialText

TutorialTextUI TutorialManager.tutorialText

Reference to the UI that displays text on screen.


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