public TestGame ()
: base()
{
// enable object tracking :
Parameters.TrackObjects = true;
// uncomment to enable debug graphics device:
// (MS Platform SDK must be installed)
// Parameters.UseDebugDevice = true;
// add services :
AddService( new SpriteBatch( this ), false, false, 0, 0 );
AddService( new DebugStrings( this ), true, true, 9999, 9999 );
AddService( new DebugRender( this ), true, true, 9998, 9998 );
// add here additional services :
// load configuration for each service :
LoadConfiguration();
// make configuration saved on exit :
Exiting += Game_Exiting;
}