/// <summary> /// This is called when the game should draw itself. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> protected override void Draw(GameTime gameTime) { graphics.GraphicsDevice.Clear(Color.White); //TODO: Add your drawing code here base.Draw(gameTime); spriteBatch.Begin(); world.draw(spriteBatch); if (world.Entities.Count == 0) { /*spriteBatch.DrawString(new SpriteFont(),"Simulation Successful", * new Vector2(400, 400), * Color.White);*/ } spriteBatch.End(); }