C# Class FlyingKite.Components.GameplayManager

Inheritance: Component, IDisposable
Mostra file Open project: WaveEngine/QuickStarters

Private Properties

Property Type Description
GameOverTransition void
KiteBehavior_OnStateChanged void
ResetScene void
ScreenContextManager_OnActivatingScene void
ScreenContextManager_OnDesactivatingScene void
SetScrollEnable void
UpdateCustomLayerEntities void

Public Methods

Method Description
Dispose ( ) : void
SetState ( GameplayStates state ) : void

Changes the scene state.

Protected Methods

Method Description
Initialize ( ) : void
ResolveDependencies ( ) : void

Private Methods

Method Description
GameOverTransition ( ) : void

Do game over transition.

KiteBehavior_OnStateChanged ( object sender, KiteStates newState ) : void
ResetScene ( ) : void

Resets the scene. Used to restart the game.

ScreenContextManager_OnActivatingScene ( Scene scene ) : void
ScreenContextManager_OnDesactivatingScene ( Scene scene ) : void
SetScrollEnable ( bool value ) : void

Enable or disable the ScrollBehavior of all the entities inside the EntityManger of the scene.

UpdateCustomLayerEntities ( ) : void

Updates entities with custom layers.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Initialize() protected method

protected Initialize ( ) : void
return void

ResolveDependencies() protected method

protected ResolveDependencies ( ) : void
return void

SetState() public method

Changes the scene state.
public SetState ( GameplayStates state ) : void
state GameplayStates The state.
return void