C# Class WaveEngine.Components.GameActions.WaitCountGameAction

A game action to continue with other action
Inheritance: GameAction
Show file Open project: WaveEngine/Components

Public Methods

Method Description
WaitCountGameAction ( IGameAction parent, int countLimit ) : System

Initializes a new instance of the WaitCountGameAction class.

WaitCountGameAction ( Scene scene, int countLimit ) : System

Initializes a new instance of the WaitCountGameAction class.

Protected Methods

Method Description
ActionCancelled ( IGameAction action ) : void

Method invoqued when an action is cancelled

ActionCompleted ( IGameAction action ) : void

Method invoqued when an action is cancelled

CheckEnd ( ) : void

Checks the end.

PerformCancel ( ) : void

Perform cancel action

PerformRun ( ) : void

Perform Run actions

Method Details

ActionCancelled() protected method

Method invoqued when an action is cancelled
protected ActionCancelled ( IGameAction action ) : void
action IGameAction The game action.
return void

ActionCompleted() protected method

Method invoqued when an action is cancelled
protected ActionCompleted ( IGameAction action ) : void
action IGameAction The game action.
return void

CheckEnd() protected method

Checks the end.
protected CheckEnd ( ) : void
return void

PerformCancel() protected method

Perform cancel action
protected PerformCancel ( ) : void
return void

PerformRun() protected method

Perform Run actions
protected PerformRun ( ) : void
return void

WaitCountGameAction() public method

Initializes a new instance of the WaitCountGameAction class.
public WaitCountGameAction ( IGameAction parent, int countLimit ) : System
parent IGameAction The parent action.
countLimit int The count limit.
return System

WaitCountGameAction() public method

Initializes a new instance of the WaitCountGameAction class.
public WaitCountGameAction ( Scene scene, int countLimit ) : System
scene Scene The scene.
countLimit int The count limit.
return System