C# Class WaveEngine.Components.GameActions.PlayVideoGameAction

A game action that play a video
Inheritance: GameAction
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode Description
PlayVideoGameAction ( IGameAction parent, System.VideoInfo videoInfo ) : System

Initializes a new instance of the PlayVideoGameAction class.

PlayVideoGameAction ( System.VideoInfo videoInfo, Scene scene = null ) : System

Initializes a new instance of the PlayVideoGameAction 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
OnVideoCompleted ( object sender, EventArgs e ) : void

The video has been completed

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

PlayVideoGameAction() public méthode

Initializes a new instance of the PlayVideoGameAction class.
public PlayVideoGameAction ( IGameAction parent, System.VideoInfo videoInfo ) : System
parent IGameAction The parent task.
videoInfo System.VideoInfo The video info to play
Résultat System

PlayVideoGameAction() public méthode

Initializes a new instance of the PlayVideoGameAction class.
public PlayVideoGameAction ( System.VideoInfo videoInfo, Scene scene = null ) : System
videoInfo System.VideoInfo The video info to play
scene Scene The associated scene.
Résultat System