C# Class WaveEngine.Components.GameActions.TapGameAction

A game action that execute an Action
Inheritance: GameAction
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

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

Méthodes protégées

Méthode Description
PerformCancel ( ) : void

Perform cancelation event

PerformRun ( ) : void

Perform run action

PerformSkip ( ) : bool

Skip the action

Private Methods

Méthode Description
NotifyTap ( object sender, GestureEventArgs e ) : void

Handles the tap event on the touch gestures

Method Details

PerformCancel() protected méthode

Perform cancelation event
protected PerformCancel ( ) : void
Résultat void

PerformRun() protected méthode

Perform run action
protected PerformRun ( ) : void
Résultat void

PerformSkip() protected méthode

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

TapGameAction() public méthode

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

TapGameAction() public méthode

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