Пример #1
0
 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);
     }
 }
Пример #2
0
 public override void Draw(SpriteBatch spriteBatch)
 {
     playerAnimation.Draw(spriteBatch);
 }