The Debug Class

There is also a debug class in Xploit that shows the Frames per second the draw method is called.
If this is ever used remove this part in the final release of your software/app.
Usage declaration :
XDebug debug;

You can create only 1 object of this class in the LoadContent Method
Before base.Draw(gameTime); in the Draw Method just add :
debug.ShowFPS(gameTime);

Last edited Jan 3, 2010 at 4:33 PM by adityav89, version 1

Comments

No comments yet.