C# 클래스 Artemis.Engine.ArtemisEngine

상속: IDisposable
파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine 1 사용 예제들

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