C# Class FarseerPhysics.Samples.ScreenSystem.FrameRateCounter

Displays the FPS
Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Mostra file Open project: tinco/Farseer-Physics Class Usage Examples

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Draw ( SpriteBatch batch ) : void
FrameRateCounter ( ) : System
FrameRateCounter ( ScreenManager screenManager ) : System
LoadContent ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

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

Draw() public method

public Draw ( SpriteBatch batch ) : void
batch SpriteBatch
return void

FrameRateCounter() public method

public FrameRateCounter ( ) : System
return System

FrameRateCounter() public method

public FrameRateCounter ( ScreenManager screenManager ) : System
screenManager ScreenManager
return System

LoadContent() public method

public LoadContent ( ) : void
return void

Update() public method

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