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

Extension methods for GameAction class
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
AndPlayMusic ( this parent, MusicInfo musicInfo ) : IGameAction

And play a music action.

AndPlaySingleAnimation ( this parent, SingleAnimation singleAnimation, AnimationUI animationUI, DependencyProperty dependencyProperty ) : IGameAction

And play a single animation action.

AndPlaySound ( this parent, SoundInfo soundInfo, float volume = 1f, bool loop = false ) : IGameAction

And play a sound action.

AndPlayVideo ( this parent, System.VideoInfo videoInfo ) : IGameAction

And play a video action.

AndWaitCondition ( this parent, Func breakPredicate, int eventCount = 1 ) : IGameAction

Ands the wait condition.

AndWaitTap ( this parent, TouchGestures touchGestures ) : IGameAction

And wait a tap to the touch gesture.

AsSkippableGameAction ( this actionToSkip ) : IGameAction

Ases the skipable task.

ContinueWith ( this parent, Func nextActionGenerator ) : IGameAction

Continue with another action.

ContinueWith ( this parent, IGameAction nextAction ) : IGameAction

Continue with another action.

ContinueWith ( this parent ) : IGameActionSet

Continue with another action.

ContinueWith ( this parent, IEnumerable childTasks ) : IGameActionSet

Continue with another action.

ContinueWithAction ( this parent, System.Action action ) : IGameAction

Continue with another an action function

CreateDelayGameAction ( this scene, System.TimeSpan time ) : IGameAction

Creates a delay action.

CreateEmptyGameAction ( this scene ) : IGameAction

Creates an empty game action.

CreateGameAction ( this scene, Func actionGenerator ) : IGameAction

Creates a game action.

CreateGameAction ( this scene, IGameAction action ) : IGameAction

Creates a game action.

CreateGameActionFromAction ( this scene, System.Action action ) : IGameAction

Creates an empty game action.

CreateLoopGameActionUntil ( this scene, Func actionGenerator, Func stopCondition ) : IGameAction

Creates the repeat task until.

CreateParallelGameActions ( this scene ) : IGameActionSet

Create parallel actions.

CreateParallelGameActions ( this scene, IEnumerable actionGenerators ) : IGameActionSet

Create parallel actions.

CreatePlayMusicGameAction ( this scene, MusicInfo musicInfo ) : IGameAction

Creates a play music action.

CreatePlaySoundGameAction ( this scene, SoundInfo soundInfo, float volume = 1f, bool loop = false ) : IGameAction

Creates a play sound action.

CreatePlayVideoGameAction ( this scene, System.VideoInfo videoInfo ) : IGameAction

Creates a play video action.

CreateSingleAnimationGameAction ( this scene, SingleAnimation singleAnimation, AnimationUI animationUI, DependencyProperty dependencyProperty ) : IGameAction

Creates the single animation action.

CreateWaitConditionGameAction ( this scene, Func breakPredicate, int eventCount = 1 ) : IGameAction

Create a wait condition action.

CreateWaitGameAction ( this scene, System.TimeSpan timeSpan ) : IGameAction

Creates the wait action.

CreateWaitTapGameAction ( this scene, TouchGestures touchGestures ) : IGameAction

Creates the wait tap task.

Delay ( this parent, System.TimeSpan time ) : IGameAction

Add a delay action.

메소드 상세

AndPlayMusic() 공개 정적인 메소드

And play a music action.
public static AndPlayMusic ( this parent, MusicInfo musicInfo ) : IGameAction
parent this The parent.
musicInfo MusicInfo The music info to play
리턴 IGameAction

AndPlaySingleAnimation() 공개 정적인 메소드

And play a single animation action.
public static AndPlaySingleAnimation ( this parent, SingleAnimation singleAnimation, AnimationUI animationUI, DependencyProperty dependencyProperty ) : IGameAction
parent this The parent.
singleAnimation SingleAnimation The single animation.
animationUI AnimationUI The animation UI.
dependencyProperty DependencyProperty The dependency property.
리턴 IGameAction

AndPlaySound() 공개 정적인 메소드

And play a sound action.
public static AndPlaySound ( this parent, SoundInfo soundInfo, float volume = 1f, bool loop = false ) : IGameAction
parent this The parent.
soundInfo SoundInfo The sound info to play
volume float The sound volume
loop bool The sound loop is enabled
리턴 IGameAction

AndPlayVideo() 공개 정적인 메소드

And play a video action.
public static AndPlayVideo ( this parent, System.VideoInfo videoInfo ) : IGameAction
parent this The parent.
videoInfo System.VideoInfo The video info to play
리턴 IGameAction

AndWaitCondition() 공개 정적인 메소드

Ands the wait condition.
public static AndWaitCondition ( this parent, Func breakPredicate, int eventCount = 1 ) : IGameAction
parent this The parent.
breakPredicate Func The predicate.
eventCount int The event count.
리턴 IGameAction

AndWaitTap() 공개 정적인 메소드

And wait a tap to the touch gesture.
public static AndWaitTap ( this parent, TouchGestures touchGestures ) : IGameAction
parent this The parent.
touchGestures WaveEngine.Components.Gestures.TouchGestures The touch gestures.
리턴 IGameAction

AsSkippableGameAction() 공개 정적인 메소드

Ases the skipable task.
public static AsSkippableGameAction ( this actionToSkip ) : IGameAction
actionToSkip this The action to skip.
리턴 IGameAction

ContinueWith() 공개 정적인 메소드

Continue with another action.
It is not possible to continue with, aborted or finised task. Defer the run command to a posterior stage.
public static ContinueWith ( this parent, Func nextActionGenerator ) : IGameAction
parent this The parent action.
nextActionGenerator Func The next action generator.
리턴 IGameAction

ContinueWith() 공개 정적인 메소드

Continue with another action.
It is not possible to continue with, aborted or finised task. Defer the run command to a posterior stage.
public static ContinueWith ( this parent, IGameAction nextAction ) : IGameAction
parent this The parent action.
nextAction IGameAction The next action.
리턴 IGameAction

ContinueWith() 공개 정적인 메소드

Continue with another action.
It is not possible to continue with, aborted or finised task. Defer the run command to a posterior stage.
public static ContinueWith ( this parent ) : IGameActionSet
parent this The parent action.
리턴 IGameActionSet

ContinueWith() 공개 정적인 메소드

Continue with another action.
It is not possible to continue with, aborted or finised task. Defer the run command to a posterior stage.
public static ContinueWith ( this parent, IEnumerable childTasks ) : IGameActionSet
parent this The parent action.
childTasks IEnumerable The chhild tasks.
리턴 IGameActionSet

ContinueWithAction() 공개 정적인 메소드

Continue with another an action function
It is not possible to continue with, aborted or finised task. Defer the run command to a posterior stage.
public static ContinueWithAction ( this parent, System.Action action ) : IGameAction
parent this The parent action.
action System.Action The next action.
리턴 IGameAction

CreateDelayGameAction() 공개 정적인 메소드

Creates a delay action.
public static CreateDelayGameAction ( this scene, System.TimeSpan time ) : IGameAction
scene this The scene.
time System.TimeSpan The time.
리턴 IGameAction

CreateEmptyGameAction() 공개 정적인 메소드

Creates an empty game action.
public static CreateEmptyGameAction ( this scene ) : IGameAction
scene this The scene.
리턴 IGameAction

CreateGameAction() 공개 정적인 메소드

Creates a game action.
public static CreateGameAction ( this scene, Func actionGenerator ) : IGameAction
scene this The scene.
actionGenerator Func The action generator method.
리턴 IGameAction

CreateGameAction() 공개 정적인 메소드

Creates a game action.
public static CreateGameAction ( this scene, IGameAction action ) : IGameAction
scene this The scene.
action IGameAction The action.
리턴 IGameAction

CreateGameActionFromAction() 공개 정적인 메소드

Creates an empty game action.
public static CreateGameActionFromAction ( this scene, System.Action action ) : IGameAction
scene this The scene.
action System.Action simple code to be executed
리턴 IGameAction

CreateLoopGameActionUntil() 공개 정적인 메소드

Creates the repeat task until.
public static CreateLoopGameActionUntil ( this scene, Func actionGenerator, Func stopCondition ) : IGameAction
scene this The scene.
actionGenerator Func The action generator.
stopCondition Func The until predicate.
리턴 IGameAction

CreateParallelGameActions() 공개 정적인 메소드

Create parallel actions.
public static CreateParallelGameActions ( this scene ) : IGameActionSet
scene this The scene.
리턴 IGameActionSet

CreateParallelGameActions() 공개 정적인 메소드

Create parallel actions.
public static CreateParallelGameActions ( this scene, IEnumerable actionGenerators ) : IGameActionSet
scene this The scene.
actionGenerators IEnumerable The action generators.
리턴 IGameActionSet

CreatePlayMusicGameAction() 공개 정적인 메소드

Creates a play music action.
public static CreatePlayMusicGameAction ( this scene, MusicInfo musicInfo ) : IGameAction
scene this The scene.
musicInfo MusicInfo The music info to play
리턴 IGameAction

CreatePlaySoundGameAction() 공개 정적인 메소드

Creates a play sound action.
public static CreatePlaySoundGameAction ( this scene, SoundInfo soundInfo, float volume = 1f, bool loop = false ) : IGameAction
scene this The scene.
soundInfo SoundInfo The sound info to play
volume float The sound volume
loop bool The sound loop is enabled
리턴 IGameAction

CreatePlayVideoGameAction() 공개 정적인 메소드

Creates a play video action.
public static CreatePlayVideoGameAction ( this scene, System.VideoInfo videoInfo ) : IGameAction
scene this The scene.
videoInfo System.VideoInfo The video info to play
리턴 IGameAction

CreateSingleAnimationGameAction() 공개 정적인 메소드

Creates the single animation action.
public static CreateSingleAnimationGameAction ( this scene, SingleAnimation singleAnimation, AnimationUI animationUI, DependencyProperty dependencyProperty ) : IGameAction
scene this The scene.
singleAnimation SingleAnimation The single animation.
animationUI AnimationUI The animation UI.
dependencyProperty DependencyProperty The dependency property.
리턴 IGameAction

CreateWaitConditionGameAction() 공개 정적인 메소드

Create a wait condition action.
public static CreateWaitConditionGameAction ( this scene, Func breakPredicate, int eventCount = 1 ) : IGameAction
scene this The scene.
breakPredicate Func The predicate.
eventCount int The event count.
리턴 IGameAction

CreateWaitGameAction() 공개 정적인 메소드

Creates the wait action.
public static CreateWaitGameAction ( this scene, System.TimeSpan timeSpan ) : IGameAction
scene this The scene.
timeSpan System.TimeSpan The time span.
리턴 IGameAction

CreateWaitTapGameAction() 공개 정적인 메소드

Creates the wait tap task.
public static CreateWaitTapGameAction ( this scene, TouchGestures touchGestures ) : IGameAction
scene this The scene.
touchGestures WaveEngine.Components.Gestures.TouchGestures The touch gestures.
리턴 IGameAction

Delay() 공개 정적인 메소드

Add a delay action.
public static Delay ( this parent, System.TimeSpan time ) : IGameAction
parent this The parent.
time System.TimeSpan The time.
리턴 IGameAction