public void SetSheetPosition(int x, int y) { SheetLocation = new Rectangle(x, y, sprite.Width, sprite.Height); }
public void SetSheetPosition(Rectangle rect) { SheetLocation = rect; }
internal SpriteFrame(Sprite spr, int duration, Rectangle sheetRect) { this.sprite = spr; this.Duration = duration; this.SheetLocation = sheetRect; }