C# Class PerformanceMeasuring.GameDebugTools.FpsCounter

Component for FPS measure and draw.
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Datei anzeigen Open project: vchelaru/FlatRedBall

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
FpsCounter ( Microsoft.Xna.Framework.Game game ) : System
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

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

fps command implementation.

Method Details

Draw() public method

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

FpsCounter() public method

public FpsCounter ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

Initialize() public method

public Initialize ( ) : void
return void

Update() public method

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