C# 클래스 ParticleEditorPlugin.ParticlePreviewer

상속: Microsoft.Xna.Framework.Game
파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
DisplayEmitter ( EmitterSave emitterSave, string absolutePath ) : void

Disposes of the currently displaying emitter and creates a new one from the supplied save object. Requires an absolute path so it knows where to load sprites and other paths from.

TryRun ( ) : void

Attempts to run the game instance or wraps the exception with an additional message on failure.

보호된 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void

Performs FlatRedBall drawing services.

Initialize ( ) : void

Performs FlatRedBall initialization tasks.

OnExiting ( object sender, EventArgs args ) : void

Updates the previewer state that the game is not running.

Update ( GameTime gameTime ) : void

Updates the game each cycle

비공개 메소드들

메소드 설명
ParticlePreviewer ( ) : System

Private constructor, only one of these should be launchable

메소드 상세

DisplayEmitter() 공개 메소드

Disposes of the currently displaying emitter and creates a new one from the supplied save object. Requires an absolute path so it knows where to load sprites and other paths from.
public DisplayEmitter ( EmitterSave emitterSave, string absolutePath ) : void
emitterSave FlatRedBall.Content.Particle.EmitterSave The emitter save to inflate into an emitter runtime object.
absolutePath string The base path to use when loading sprite textures or other resources.
리턴 void

Draw() 보호된 메소드

Performs FlatRedBall drawing services.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Container for information about time elapsed since last update.
리턴 void

Initialize() 보호된 메소드

Performs FlatRedBall initialization tasks.
protected Initialize ( ) : void
리턴 void

OnExiting() 보호된 메소드

Updates the previewer state that the game is not running.
protected OnExiting ( object sender, EventArgs args ) : void
sender object The object that sent this request
args System.EventArgs
리턴 void

TryRun() 공개 메소드

Attempts to run the game instance or wraps the exception with an additional message on failure.
public TryRun ( ) : void
리턴 void

Update() 보호된 메소드

Updates the game each cycle
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Container for information about time elapsed since last update.
리턴 void