C# Class Amphibian.Debug.TimeHistory

Component for FPS measure and draw.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Datei anzeigen Open project: jaquadro/MonoGdx Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
TimeHistory ( Microsoft.Xna.Framework.Game game, TimeRuler ruler ) : System
Update ( GameTime gameTime ) : void

Private Methods

Method Description
CommandExecute ( IDebugCommandHost host, string command, IList arguments ) : void

fps command implementation.

InitializeHistory ( Vector2 origin, float xStride, Color c ) : Microsoft.Xna.Framework.Graphics.VertexPositionColor[]
InitializeHistory ( ) : void
InitializeHistory2 ( Vector2 origin, float xStride ) : Vector2[]

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Initialize() public method

public Initialize ( ) : void
return void

TimeHistory() public method

public TimeHistory ( Microsoft.Xna.Framework.Game game, TimeRuler ruler ) : System
game Microsoft.Xna.Framework.Game
ruler TimeRulerLibrary.TimeRuler
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void