33 int margin,
int spacing):
34 ImageSet(img, w, h, margin, spacing),
Stores a set of subimages originating from a single image.
Defines a class for loading and storing images.
A tileset, which is basically just an image set but it stores a firstgid.
Tileset(Image *img, int w, int h, unsigned firstGid, int margin, int spacing)
unsigned getFirstGid() const
Returns the first gid.