Quote:
Originally Posted by Cobalthex
i think i only made it update once and theres almost no update code
nothing to load and no content pipeline or spritebatch, so its pretty efficient
|
*sniff* helping the idea thief*sniff* (jk)
the draw routine has a natural "update" called forth by the API
Code:
spriteBatch.Begin();
GraphicsDevice.Clear(Color.White);
The second line of code is run each loop a simple way to stop it would be
Code:
spriteBatch.Begin();
if (Toggle == true)
{
GraphicsDevice.Clear(Color.White);
Toggle = false;
}
spriteBatch.End()
just declare Toggle as a bool and set it default to true.