public override void Draw(SpriteBatch spriteBatch) { if (!displayingPoints) { truckAnimation.Draw(spriteBatch); } else { spriteBatch.DrawString(activeGame.timer.font, "+" + pointValue, this.Position, pointColor, 0.0f, Vector2.Zero, 1.0f, SpriteEffects.None, 0.35f); } }
public override void Draw(SpriteBatch spriteBatch) { playerAnimation.Draw(spriteBatch); }