summaryrefslogtreecommitdiff
path: root/src/resources/imageset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imageset.h')
-rw-r--r--src/resources/imageset.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/resources/imageset.h b/src/resources/imageset.h
index 719e9769..e276dd06 100644
--- a/src/resources/imageset.h
+++ b/src/resources/imageset.h
@@ -47,12 +47,18 @@ class ImageSet : public Resource
*/
~ImageSet();
+ /**
+ * Returns the width of the images in the image set.
+ */
int getWidth() { return mWidth; };
+ /**
+ * Returns the height of the images in the image set.
+ */
int getHeight() { return mHeight; };
typedef std::vector<Image*>::size_type size_type;
- Image* get(size_type i);
+ Image* get(size_type i) const;
size_type size() { return mImages.size(); }