C# 클래스 WaveEngine.Components.GameActions.GameActionSet

Represent a Set of Game Actions
상속: IGameActionSet
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
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