type SpriteData = object x, y, w, h: int Sprite = distinct int SpriteSheet = object sprites: seq[SpriteData]