C# Класс Artemis.Engine.ArtemisEngine

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddOptions void
ArtemisEngine System
Dispose void
Initialize void
InitializeRenderPipeline void
Render void
Run void
Update void
_RegisterMultiforms void

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

Метод Описание
Begin ( System.Action initializer ) : void

Begin the game.

Dispose ( ) : void

Clean up and dispose this AssetGroup object.

RegisterMultiforms ( ) : void

Register multiforms to the engine.

Setup ( string constantsFileName, System.Action setupAction ) : void

Setup the engine. This loads the game constants from the given constants file and initializes the user options. NOTE: This does NOT actually load the user options. That happens after calling Begin.

Setup ( string constantsFileName, string optionFileName, System.Action setupAction ) : void

Setup the engine. This loads the game constants from the given constants file and initializes the user options. NOTE: This does NOT actually load the user options. That happens after calling Begin.

StartWith ( string multiformName ) : void

Indicate what multiform to construct upon game startup.

Приватные методы

Метод Описание
AddOptions ( ) : void
ArtemisEngine ( System.Action initializer ) : System
Dispose ( bool disposing ) : void

Clean up and dispose this AssetGroup object.

Initialize ( ) : void

Actually call the initializer.

InitializeRenderPipeline ( SpriteBatch sb, GraphicsDevice gd, GraphicsDeviceManager gdm ) : void

Initialize the game's render pipeline. This has to be called in gameKernel.Initialize because that's where the spriteBatch has to be created.

Render ( ) : void

The main rendering loop, which gets called after Update.

Run ( ) : void
Update ( GameTime gameTime ) : void

The main game loop.

_RegisterMultiforms ( object multiforms ) : void

Register Multiform classes to the engine's MultiformManager.

Описание методов

Begin() публичный статический Метод

Begin the game.
public static Begin ( System.Action initializer ) : void
initializer System.Action
Результат void

Dispose() публичный Метод

Clean up and dispose this AssetGroup object.
public Dispose ( ) : void
Результат void

RegisterMultiforms() публичный статический Метод

Register multiforms to the engine.
public static RegisterMultiforms ( ) : void
Результат void

Setup() публичный статический Метод

Setup the engine. This loads the game constants from the given constants file and initializes the user options. NOTE: This does NOT actually load the user options. That happens after calling Begin.
public static Setup ( string constantsFileName, System.Action setupAction ) : void
constantsFileName string
setupAction System.Action
Результат void

Setup() публичный статический Метод

Setup the engine. This loads the game constants from the given constants file and initializes the user options. NOTE: This does NOT actually load the user options. That happens after calling Begin.
public static Setup ( string constantsFileName, string optionFileName, System.Action setupAction ) : void
constantsFileName string
optionFileName string
setupAction System.Action
Результат void

StartWith() публичный статический Метод

Indicate what multiform to construct upon game startup.
public static StartWith ( string multiformName ) : void
multiformName string
Результат void