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

A game action to wait an event for a time
Наследование: GameAction, IUpdatableGameAction
Показать файл Открыть проект

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

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