Beispiel #1
0
 public void Draw(SKCanvas canvas, SKRect dest, SKPaint paint = null)
 {
     SpriteSheet.DrawSprite(canvas, dest, Column, Row, paint);
 }
Beispiel #2
0
 public SpriteSheetSprite(SpriteSheet spriteSheet, int col = 0, int row = 0)
 {
     SpriteSheet = spriteSheet;
     Column      = col;
     Row         = row;
 }