C# Class WaveEngine.Components.GameActions.TapGameAction

A game action that execute an Action
Inheritance: GameAction
Show file Open project: WaveEngine/Components

Public Methods

Method Description
TapGameAction ( IGameAction parent, TouchGestures touchGestures ) : System

Initializes a new instance of the TapGameAction class.

TapGameAction ( TouchGestures touchGestures, Scene scene = null ) : System

Initializes a new instance of the TapGameAction class.

Protected Methods

Method Description
PerformCancel ( ) : void

Perform cancelation event

PerformRun ( ) : void

Perform run action

PerformSkip ( ) : bool

Skip the action

Private Methods

Method Description
NotifyTap ( object sender, GestureEventArgs e ) : void

Handles the tap event on the touch gestures

Method Details

PerformCancel() protected method

Perform cancelation event
protected PerformCancel ( ) : void
return void

PerformRun() protected method

Perform run action
protected PerformRun ( ) : void
return void

PerformSkip() protected method

Skip the action
protected PerformSkip ( ) : bool
return bool

TapGameAction() public method

Initializes a new instance of the TapGameAction class.
public TapGameAction ( IGameAction parent, TouchGestures touchGestures ) : System
parent IGameAction The parent task.
touchGestures WaveEngine.Components.Gestures.TouchGestures The TouchGestures instances.
return System

TapGameAction() public method

Initializes a new instance of the TapGameAction class.
public TapGameAction ( TouchGestures touchGestures, Scene scene = null ) : System
touchGestures WaveEngine.Components.Gestures.TouchGestures The TouchGestures instances.
scene Scene The associated scene.
return System