Lyrical Engine XNA-TYPE MkII
マジカル☆リリカル 2D XNA ENGINE RE_EXEC
Public Member Functions | List of all members
lyrical_engine_xna.FrameRateCounter Class Reference

Utility class to display FPS
FPSを表示するユーティリティクラス More...

Inheritance diagram for lyrical_engine_xna.FrameRateCounter:

Public Member Functions

 FrameRateCounter (Game game, Vector2 position, Color color, Color color2)
 
override void Update (GameTime gameTime)
 
override void Draw (GameTime gameTime)
 

Detailed Description

Utility class to display FPS
FPSを表示するユーティリティクラス

http://blogs.msdn.com/b/shawnhar/archive/2007/06/08/displaying-the-framerate.aspx
● atm Game1() calls this in its constructor

Todo:
● Right now a lot of stuff is commented out from this class, and all of that stuff relates to drawing the FPS on-screen. I'll want a better "OSD" later when I write devconsole & toggleable information, but for now I want FPS to display in titlebar.