C# Класс WaveEngine.Components.GameActions.PlayVideoGameAction

A game action that play a video
Наследование: GameAction
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
PerformCancel ( ) : void

Perform cancelation event

PerformRun ( ) : void

Perform run action

PerformSkip ( ) : bool

Skip the action

Приватные методы

Метод Описание
OnVideoCompleted ( object sender, EventArgs e ) : void

The video has been completed

Описание методов

PerformCancel() защищенный Метод

Perform cancelation event
protected PerformCancel ( ) : void
Результат void

PerformRun() защищенный Метод

Perform run action
protected PerformRun ( ) : void
Результат void

PerformSkip() защищенный Метод

Skip the action
protected PerformSkip ( ) : bool
Результат bool

PlayVideoGameAction() публичный Метод

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
Результат System

PlayVideoGameAction() публичный Метод

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.
Результат System