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