C# 클래스 Sharpex2D.Game

상속: IUpdateable, IDrawable, IConstructable
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
Exit ( ) : void

Exits the game.

OnActivation ( ) : void

Processes if the surface is activated.

OnDeactivation ( ) : void

Processes if the surface is deactivated.

OnDrawing ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Processes a Render.

OnInitialize ( LaunchParameters launchParameters ) : EngineConfiguration

Processes the Game initialization.

OnLoadContent ( ) : void

Processes the Game load.

OnUnload ( ) : void

Processes the Game unload.

OnUpdate ( GameTime gameTime ) : void

Updates the object.

Restart ( LaunchParameters launchParameters ) : void

Restarts the Game with the specified LaunchParameters.

보호된 메소드들

메소드 설명
Game ( ) : System

Initializes a new Game class.

비공개 메소드들

메소드 설명
IConstructable ( ) : void

Constructs the component.

IDrawable ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Processes a Render.

IUpdateable ( GameTime gameTime ) : void

Updates the object.

메소드 상세

Exit() 공개 메소드

Exits the game.
public Exit ( ) : void
리턴 void

Game() 보호된 메소드

Initializes a new Game class.
protected Game ( ) : System
리턴 System

OnActivation() 공개 메소드

Processes if the surface is activated.
public OnActivation ( ) : void
리턴 void

OnDeactivation() 공개 메소드

Processes if the surface is deactivated.
public OnDeactivation ( ) : void
리턴 void

OnDrawing() 공개 메소드

Processes a Render.
public OnDrawing ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Sharpex2D.Rendering.SpriteBatch The SpriteBatch.
gameTime GameTime The GameTime.
리턴 void

OnInitialize() 공개 추상적인 메소드

Processes the Game initialization.
public abstract OnInitialize ( LaunchParameters launchParameters ) : EngineConfiguration
launchParameters Sharpex2D.GameService.LaunchParameters The LaunchParameters.
리턴 EngineConfiguration

OnLoadContent() 공개 추상적인 메소드

Processes the Game load.
public abstract OnLoadContent ( ) : void
리턴 void

OnUnload() 공개 메소드

Processes the Game unload.
public OnUnload ( ) : void
리턴 void

OnUpdate() 공개 메소드

Updates the object.
public OnUpdate ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
리턴 void

Restart() 공개 메소드

Restarts the Game with the specified LaunchParameters.
public Restart ( LaunchParameters launchParameters ) : void
launchParameters Sharpex2D.GameService.LaunchParameters The LaunchParameters.
리턴 void