C# Класс WaveEngine.Components.GameActions.GameActionNode

A game action to continue with other action
Наследование: GameAction
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
wrappedAction IGameAction

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
PerformCancel ( ) : void

Perform the game action cancelation

PerformRun ( ) : void

Perform Run actions

PerformSkip ( ) : bool

Skip the action

Приватные методы

Метод Описание
WrappedActionCancelled ( IGameAction action ) : void

The wrapped action is cancelled

WrappedActionCompleted ( IGameAction action ) : void

The wrapped action is completed

Описание методов

GameActionNode() публичный Метод

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.
Результат System

GameActionNode() публичный Метод

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
Результат System

GameActionNode() публичный Метод

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
Результат System

GameActionNode() публичный Метод

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.
Результат System

PerformCancel() защищенный Метод

Perform the game action cancelation
protected PerformCancel ( ) : void
Результат void

PerformRun() защищенный Метод

Perform Run actions
protected PerformRun ( ) : void
Результат void

PerformSkip() защищенный Метод

Skip the action
protected PerformSkip ( ) : bool
Результат bool

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

Описание свойств

wrappedAction защищенное свойство

The wrapped Action
protected IGameAction wrappedAction
Результат IGameAction