C# 클래스 WaveEngine.Components.GameActions.SingleAnimationGameAction

A game action to play a sound
상속: GameAction
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
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