C# Класс ParticleEditorPlugin.ParticlePreviewer

Наследование: Microsoft.Xna.Framework.Game
Показать файл Открыть проект

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

Метод Описание
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