|
|
@ -148,11 +148,10 @@ namespace Jumpy { |
|
|
|
if (Debug.Enabled) { |
|
|
|
string fpsText = $"{GraphicsDevice.Viewport.Width}x{GraphicsDevice.Viewport.Height}, " + |
|
|
|
$"{fpsCounter.Fps} FPS"; |
|
|
|
spriteBatch.DrawString(font, fpsText, new Vector2(10, 40), Color.YellowGreen); |
|
|
|
spriteBatch.DrawString(font, fpsText, new Vector2(10, 10), Color.Teal); |
|
|
|
Debug.DrawToast(spriteBatch, font); |
|
|
|
} |
|
|
|
|
|
|
|
Debug.DrawToast(spriteBatch, font); |
|
|
|
|
|
|
|
spriteBatch.End(); |
|
|
|
|
|
|
|
base.Draw(gameTime); |
|
|
|