C# Class WaveEngine.Components.GameActions.ActiveWaitConditionGameAction

A game action to wait an event for a time
Inheritance: GameAction, IUpdatableGameAction
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

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

Méthodes protégées

Méthode Description
PerformRun ( ) : void

Perform Run actions

PerformSkip ( ) : bool

Skip the action

Method Details

ActiveWaitConditionGameAction() public méthode

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

ActiveWaitConditionGameAction() public méthode

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

PerformRun() protected méthode

Perform Run actions
protected PerformRun ( ) : void
Résultat void

PerformSkip() protected méthode

Skip the action
protected PerformSkip ( ) : bool
Résultat bool

Update() public méthode

Update the game action
public Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The current game time.
Résultat void