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); }
public void Draw() { sprite.Draw(spriteBatch, location); }