C# Class WaveEngine.Components.GameActions.ActionGameAction

A game action that execute an Action
Inheritance: GameAction
Exibir arquivo Open project: WaveEngine/Components

Public Methods

Method Description
ActionGameAction ( System.Action action, Scene scene = null ) : System

Initializes a new instance of the ActionGameAction class.

ActionGameAction ( IGameAction parent, System.Action action ) : System

Initializes a new instance of the ActionGameAction class.

Protected Methods

Method Description
PerformRun ( ) : void

Perform run action

Method Details

ActionGameAction() public method

Initializes a new instance of the ActionGameAction class.
public ActionGameAction ( System.Action action, Scene scene = null ) : System
action System.Action The action to execute
scene Scene The associated scene.
return System

ActionGameAction() public method

Initializes a new instance of the ActionGameAction class.
public ActionGameAction ( IGameAction parent, System.Action action ) : System
parent IGameAction The parent task.
action System.Action The action to execute
return System

PerformRun() protected method

Perform run action
protected PerformRun ( ) : void
return void