C# Class WaveEngine.Components.GameActions.GameActionNode

A game action to continue with other action
Inheritance: GameAction
Afficher le fichier Open project: WaveEngine/Components

Protected Properties

Свойство Type Description
wrappedAction IGameAction

Méthodes publiques

Méthode Description
GameActionNode ( Func actionFunction, Scene scene = null ) : System

Initializes a new instance of the GameActionNode class.

GameActionNode ( IGameAction parent, Func actionFunction ) : System

Initializes a new instance of the GameActionNode class.

GameActionNode ( IGameAction parent, IGameAction wrappedAction ) : System

Initializes a new instance of the GameActionNode class.

GameActionNode ( IGameAction wrappedAction, Scene scene = null ) : System

Initializes a new instance of the GameActionNode class.

ToString ( ) : string

Returns a System.String that represents this instance.

Méthodes protégées

Méthode Description
PerformCancel ( ) : void

Perform the game action cancelation

PerformRun ( ) : void

Perform Run actions

PerformSkip ( ) : bool

Skip the action

Private Methods

Méthode Description
WrappedActionCancelled ( IGameAction action ) : void

The wrapped action is cancelled

WrappedActionCompleted ( IGameAction action ) : void

The wrapped action is completed

Method Details

GameActionNode() public méthode

Initializes a new instance of the GameActionNode class.
public GameActionNode ( Func actionFunction, Scene scene = null ) : System
actionFunction Func The wrapped game action
scene Scene The scene.
Résultat System

GameActionNode() public méthode

Initializes a new instance of the GameActionNode class.
public GameActionNode ( IGameAction parent, Func actionFunction ) : System
parent IGameAction The parent action.
actionFunction Func The wrapped game action
Résultat System

GameActionNode() public méthode

Initializes a new instance of the GameActionNode class.
public GameActionNode ( IGameAction parent, IGameAction wrappedAction ) : System
parent IGameAction The parent action.
wrappedAction IGameAction The wrapped game action
Résultat System

GameActionNode() public méthode

Initializes a new instance of the GameActionNode class.
public GameActionNode ( IGameAction wrappedAction, Scene scene = null ) : System
wrappedAction IGameAction The wrapped game action
scene Scene The scene.
Résultat System

PerformCancel() protected méthode

Perform the game action cancelation
protected PerformCancel ( ) : void
Résultat void

PerformRun() protected méthode

Perform Run actions
protected PerformRun ( ) : void
Résultat void

PerformSkip() protected méthode

Skip the action
protected PerformSkip ( ) : bool
Résultat bool

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string

Property Details

wrappedAction protected_oe property

The wrapped Action
protected IGameAction wrappedAction
Résultat IGameAction