Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public class Game1 : Game
  2. {
  3. [...]
  4. protected override void Draw(GameTime gameTime)
  5. {
  6. [...]
  7. spriteBatch.DrawString(_gameFont, $"Score : {_score} pts.", new Vector2(20, 20), Color.White);
  8. spriteBatch.End();
  9. base.Draw(gameTime);
  10. [...]
  11. }
  12. [...]
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement