C# 클래스 SuperCaissiere.Engine.Util.FpsCounter

파일 보기 프로젝트 열기: valryon/super-caissiere

공개 메소드들

메소드 설명
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

메소드 상세

Draw() 공개 메소드

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
리턴 void

FpsCounter() 공개 메소드

public FpsCounter ( ) : System
리턴 System

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Update() 공개 메소드

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