C# Class XPlane.Core.Scenes.GameScene

Inheritance: Sharpex2D.Rendering.Scene.Scene
显示文件 Open project: ThuCommix/Sharpex2D

Private Properties

Property Type Description
HandleInput void

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the scene.

Initialize ( ) : void

Initializes the Scene.

LoadContent ( ContentManager content ) : void

Loads the content.

OnSceneActivated ( ) : void

Called if the scene is activated.

Update ( GameTime gameTime ) : void

Updates the scene.

Private Methods

Method Description
HandleInput ( GameTime gameTime ) : void

Handles the input.

Method Details

Draw() public method

Draws the scene.
public Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Sharpex2D.Rendering.SpriteBatch The spriteBatch.
gameTime Sharpex2D.GameTime The GameTime.
return void

Initialize() public method

Initializes the Scene.
public Initialize ( ) : void
return void

LoadContent() public method

Loads the content.
public LoadContent ( ContentManager content ) : void
content ContentManager The Content.
return void

OnSceneActivated() public method

Called if the scene is activated.
public OnSceneActivated ( ) : void
return void

Update() public method

Updates the scene.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
return void