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

Represent a Set of Game Actions
Наследование: IGameActionSet
Показать файл Открыть проект

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

Метод Описание
GameActionSet ( IEnumerable actions, Scene scene = null ) : System

Initializes a new instance of the GameActionSet class.

GameActionSet ( IGameAction parent, IEnumerable actions ) : System

Initializes a new instance of the GameActionSet class.

WaitAll ( ) : IGameAction

Return an action that will be completed when all actions has been completed.

WaitAny ( ) : IGameAction

Return an action that will be completed when any actions has been completed.

WaitCount ( int count ) : IGameAction

Return an action that will be completed when all actions has been completed.

WaitPredicate ( IGameAction[]>.Func waitingTaskPredicate ) : IGameAction

Waits the predicate.

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

Метод Описание
GetActionCount ( ) : int

Return action count

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

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

Initializes a new instance of the GameActionSet class.
public GameActionSet ( IEnumerable actions, Scene scene = null ) : System
actions IEnumerable The action list.
scene Scene The associated scene.
Результат System

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

Initializes a new instance of the GameActionSet class.
public GameActionSet ( IGameAction parent, IEnumerable actions ) : System
parent IGameAction The parent action.
actions IEnumerable The action list.
Результат System

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

Return an action that will be completed when all actions has been completed.
public WaitAll ( ) : IGameAction
Результат IGameAction

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

Return an action that will be completed when any actions has been completed.
public WaitAny ( ) : IGameAction
Результат IGameAction

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

Return an action that will be completed when all actions has been completed.
public WaitCount ( int count ) : IGameAction
count int The count limit
Результат IGameAction

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

Waits the predicate.
public WaitPredicate ( IGameAction[]>.Func waitingTaskPredicate ) : IGameAction
waitingTaskPredicate IGameAction[]>.Func The waiting task predicate.
Результат IGameAction