public Image(SpriteSheet spriteSheet, int frame) { Debug.Assert(frame >= 0 && frame < spriteSheet.FrameCount); this.spriteSheet = spriteSheet; this.frame = frame; }