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

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

공개 메소드들

메소드 설명
PlayMusicGameAction ( IGameAction parent, MusicInfo musicInfo ) : System

Initializes a new instance of the PlayMusicGameAction class.

PlayMusicGameAction ( MusicInfo musicInfo, Scene scene = null ) : System

Initializes a new instance of the PlayMusicGameAction class.

보호된 메소드들

메소드 설명
PerformCancel ( ) : void

Perform cancelation event

PerformRun ( ) : void

Perform run action

PerformSkip ( ) : bool

Skip the action

비공개 메소드들

메소드 설명
OnSongCompleted ( object sender, EventArgs e ) : void

The music 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

PlayMusicGameAction() 공개 메소드

Initializes a new instance of the PlayMusicGameAction class.
public PlayMusicGameAction ( IGameAction parent, MusicInfo musicInfo ) : System
parent IGameAction The parent task.
musicInfo MusicInfo The music info to play
리턴 System

PlayMusicGameAction() 공개 메소드

Initializes a new instance of the PlayMusicGameAction class.
public PlayMusicGameAction ( MusicInfo musicInfo, Scene scene = null ) : System
musicInfo MusicInfo The music info to play
scene Scene The associated scene.
리턴 System