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

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

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

Метод Описание
SingleAnimationGameAction ( IGameAction parent, SingleAnimation singleAnimation, AnimationUI animation, DependencyProperty dependencyProperty ) : System

Initializes a new instance of the SingleAnimationGameAction class.

SingleAnimationGameAction ( SingleAnimation singleAnimation, AnimationUI animation, DependencyProperty dependencyProperty, Scene scene = null ) : System

Initializes a new instance of the SingleAnimationGameAction class.

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

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

Notifies the cancelled.

PerformRun ( ) : void

Perform Run actions

PerformSkip ( ) : bool

Skip the action

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

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

Handles the Completed event of the singleAnimation control.

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

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

Notifies the cancelled.
protected PerformCancel ( ) : void
Результат void

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

Perform Run actions
protected PerformRun ( ) : void
Результат void

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

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

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

Initializes a new instance of the SingleAnimationGameAction class.
public SingleAnimationGameAction ( IGameAction parent, SingleAnimation singleAnimation, AnimationUI animation, DependencyProperty dependencyProperty ) : System
parent IGameAction The parent task.
singleAnimation SingleAnimation The single animation.
animation AnimationUI The AnimationUI component.
dependencyProperty DependencyProperty The dependency property to animate.
Результат System

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

Initializes a new instance of the SingleAnimationGameAction class.
public SingleAnimationGameAction ( SingleAnimation singleAnimation, AnimationUI animation, DependencyProperty dependencyProperty, Scene scene = null ) : System
singleAnimation SingleAnimation The single animation.
animation AnimationUI The AnimationUI component.
dependencyProperty DependencyProperty The dependency property to animate.
scene Scene The associated scene.
Результат System