C# Class SuperCaissiere.Engine.Util.FpsCounter

Show file Open project: valryon/super-caissiere

Public Methods

Method Description
Draw ( SuperCaissiere.Engine.Graphics.SpriteBatchProxy spriteBatch, Vector2 location ) : void

Affichage du nombre de FPS à l'écran et calcul du nombre d'affichages

FpsCounter ( ) : System
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Doit etre appelé à chaque frame pour être valide

Method Details

Draw() public method

Affichage du nombre de FPS à l'écran et calcul du nombre d'affichages
public Draw ( SuperCaissiere.Engine.Graphics.SpriteBatchProxy spriteBatch, Vector2 location ) : void
spriteBatch SuperCaissiere.Engine.Graphics.SpriteBatchProxy
location Vector2
return void

FpsCounter() public method

public FpsCounter ( ) : System
return System

Initialize() public method

public Initialize ( ) : void
return void

Update() public method

Doit etre appelé à chaque frame pour être valide
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void