C# Class WaveEngine.Components.GameActions.WaitGameAction

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

Méthodes publiques

Méthode Description
WaitGameAction ( IGameAction parent, System.TimeSpan duration ) : System

Initializes a new instance of the WaitGameAction class.

WaitGameAction ( System.TimeSpan duration, Scene scene = null ) : System

Initializes a new instance of the WaitGameAction class.

Méthodes protégées

Méthode Description
PerformCancel ( ) : void

Perform cancel

PerformRun ( ) : void

Perform Run actions

PerformSkip ( ) : bool

Skip the action

Private Methods

Méthode Description
TimerCompleted ( ) : void

The timer has been fired

Method Details

PerformCancel() protected méthode

Perform cancel
protected PerformCancel ( ) : void
Résultat void

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

WaitGameAction() public méthode

Initializes a new instance of the WaitGameAction class.
public WaitGameAction ( IGameAction parent, System.TimeSpan duration ) : System
parent IGameAction The parent action
duration System.TimeSpan The duration of the action
Résultat System

WaitGameAction() public méthode

Initializes a new instance of the WaitGameAction class.
public WaitGameAction ( System.TimeSpan duration, Scene scene = null ) : System
duration System.TimeSpan The duration of the action
scene Scene The scene.
Résultat System