C# Class Sharpcraft.Components.Debug.DebugDisplay

This is a game component that implements IUpdateable.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
显示文件 Open project: SijmenSchoon/Sharpcraft

Public Methods

Method Description
Draw ( GameTime gameTime ) : void

Draws the debug information.

Update ( GameTime gameTime ) : void

Allows the game component to update itself.

Protected Methods

Method Description
LoadContent ( ) : void

Loads all content used by DebugDisplay.

UnloadContent ( ) : void

Unloads content loaded by LoadContent.

Private Methods

Method Description
DebugDisplay ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics ) : Microsoft.Xna.Framework

Initialize a new instance of DebugDisplay.

Method Details

Draw() public method

Draws the debug information.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime N/A (Not Used) (See XNA Documentation)
return void

LoadContent() protected method

Loads all content used by DebugDisplay.
protected LoadContent ( ) : void
return void

UnloadContent() protected method

Unloads content loaded by LoadContent.
protected UnloadContent ( ) : void
return void

Update() public method

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void