C# Class WaveEngine.Components.GameActions.GameActionSet

Represent a Set of Game Actions
Inheritance: IGameActionSet
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

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

Private Methods

Méthode Description
GetActionCount ( ) : int

Return action count

Method Details

GameActionSet() public méthode

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

GameActionSet() public méthode

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

WaitAll() public méthode

Return an action that will be completed when all actions has been completed.
public WaitAll ( ) : IGameAction
Résultat IGameAction

WaitAny() public méthode

Return an action that will be completed when any actions has been completed.
public WaitAny ( ) : IGameAction
Résultat IGameAction

WaitCount() public méthode

Return an action that will be completed when all actions has been completed.
public WaitCount ( int count ) : IGameAction
count int The count limit
Résultat IGameAction

WaitPredicate() public méthode

Waits the predicate.
public WaitPredicate ( IGameAction[]>.Func waitingTaskPredicate ) : IGameAction
waitingTaskPredicate IGameAction[]>.Func The waiting task predicate.
Résultat IGameAction