Beispiel #1
0
 public void Draw()
 {
     /*Rectangle sourceRectangle = new Rectangle(80, 40, 20, 40);
      * Rectangle destinationRectangle = new Rectangle((int)location.X, (int)location.Y, 20 * 4, 40 * 4);
      * spriteBatch.Draw(texture, destinationRectangle, sourceRectangle, Color.White);*/
     sprite.Draw(spriteBatch, location);
 }
Beispiel #2
0
 public void Draw()
 {
     sprite.Draw(spriteBatch, location);
 }