Drawing text from update method in XNA
- by Sigh-AniDe
I am having a problem drawing the "Game Over!" text once the user is on the last tile.
This is what I have:
The Update and drawText methods are in a class named turtle:
public void Update(float scalingFactor, int[,] map, SpriteBatch batch, SpriteFont font)
{
if (isMovable(mapX, mapY - 1, map))
{
position.Y = position.Y -…