C# Class Artemis.Engine.ArtemisEngine

Inheritance: IDisposable
Afficher le fichier Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Private Properties

Свойство Type Description
AddOptions void
ArtemisEngine System
Dispose void
Initialize void
InitializeRenderPipeline void
Render void
Run void
Update void
_RegisterMultiforms void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

Begin() public static méthode

Begin the game.
public static Begin ( System.Action initializer ) : void
initializer System.Action
Résultat void

Dispose() public méthode

Clean up and dispose this AssetGroup object.
public Dispose ( ) : void
Résultat void

RegisterMultiforms() public static méthode

Register multiforms to the engine.
public static RegisterMultiforms ( ) : void
Résultat void

Setup() public static méthode

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
Résultat void

Setup() public static méthode

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
Résultat void

StartWith() public static méthode

Indicate what multiform to construct upon game startup.
public static StartWith ( string multiformName ) : void
multiformName string
Résultat void