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

A game action to wait an event for a time
상속: GameAction, IUpdatableGameAction
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
ActiveWaitConditionGameAction ( Func breakPredicate, Scene scene = null, int eventCount = 1 ) : System

Initializes a new instance of the ActiveWaitConditionGameAction class.

ActiveWaitConditionGameAction ( IGameAction parent, Func breakPredicate, int eventCount = 1 ) : System

Initializes a new instance of the ActiveWaitConditionGameAction class.

Update ( System.TimeSpan gameTime ) : void

Update the game action

보호된 메소드들

메소드 설명
PerformRun ( ) : void

Perform Run actions

PerformSkip ( ) : bool

Skip the action

메소드 상세

ActiveWaitConditionGameAction() 공개 메소드

Initializes a new instance of the ActiveWaitConditionGameAction class.
public ActiveWaitConditionGameAction ( Func breakPredicate, Scene scene = null, int eventCount = 1 ) : System
breakPredicate Func The condition predicate
scene Scene The scene.
eventCount int The event count
리턴 System

ActiveWaitConditionGameAction() 공개 메소드

Initializes a new instance of the ActiveWaitConditionGameAction class.
public ActiveWaitConditionGameAction ( IGameAction parent, Func breakPredicate, int eventCount = 1 ) : System
parent IGameAction The parent action
breakPredicate Func The condition predicate
eventCount int The event count
리턴 System

PerformRun() 보호된 메소드

Perform Run actions
protected PerformRun ( ) : void
리턴 void

PerformSkip() 보호된 메소드

Skip the action
protected PerformSkip ( ) : bool
리턴 bool

Update() 공개 메소드

Update the game action
public Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The current game time.
리턴 void