C# Class WaveEngine.Components.GameActions.ActionGameAction

A game action that execute an Action
Inheritance: GameAction
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
PerformRun ( ) : void

Perform run action

Method Details

ActionGameAction() public méthode

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.
Résultat System

ActionGameAction() public méthode

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
Résultat System

PerformRun() protected méthode

Perform run action
protected PerformRun ( ) : void
Résultat void