Flying Piggy 2D Runner Kit  1.0
Complete 2D runner template for Unity
 All Classes Files Functions Variables Enumerations Enumerator Properties
GameCommandReceiver Class Reference
Inheritance diagram for GameCommandReceiver:
ExplosionParticle Fireworks Floating Item MissionSettings Overlay Player Rotating RunSettings Scores ScoreSettings Scrollable

Public Member Functions

virtual void StartGame ()
 
virtual void PauseGame ()
 
virtual void PauseNewGame ()
 
virtual void ResumeGame ()
 
virtual void ResumeNewGame ()
 
virtual void GameOver ()
 
virtual void WinGame ()
 
virtual void StopGame ()
 
virtual void ResetGame ()
 

Detailed Description

Receives commands from GameCommand.

Member Function Documentation

virtual void GameCommandReceiver.GameOver ( )
virtual

Actions after the game is over.

Reimplemented in Player, RunSettings, and Scores.

virtual void GameCommandReceiver.PauseGame ( )
virtual

Actions after the game is paused.

Reimplemented in Player, RunSettings, Item, Floating, Rotating, Overlay, Scores, and ExplosionParticle.

virtual void GameCommandReceiver.PauseNewGame ( )
virtual

Actions after the game is paused, but it isn't started before (for example if exit confirmation window is opened).

virtual void GameCommandReceiver.ResetGame ( )
virtual

Actions after the game is resetted.

Reimplemented in Player, RunSettings, MissionSettings, Overlay, Scores, Scrollable, and ScoreSettings.

virtual void GameCommandReceiver.ResumeGame ( )
virtual

Actions after the game is resumed.

Reimplemented in Player, RunSettings, Item, Floating, Rotating, Overlay, Scores, and ExplosionParticle.

virtual void GameCommandReceiver.ResumeNewGame ( )
virtual

Actions after the game is resumed, but it isn't started before (for example if exit confirmation window is closed).

Reimplemented in Player.

virtual void GameCommandReceiver.StartGame ( )
virtual

Actions after the game is started.

Reimplemented in Player, RunSettings, MissionSettings, Item, Floating, Rotating, Overlay, ScoreSettings, and Scores.

virtual void GameCommandReceiver.StopGame ( )
virtual

Actions after the game is stopped.

Reimplemented in Player, RunSettings, MissionSettings, Floating, Rotating, Overlay, Scores, and Fireworks.

virtual void GameCommandReceiver.WinGame ( )
virtual

Actions after the game is won.

Reimplemented in Player, RunSettings, and Fireworks.


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