summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index 101ff159..d77d08f5 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -86,6 +86,18 @@ class AnimatedSprite
draw(Graphics* graphics, int posX, int posY) const;
/**
+ * gets the width in pixels of the image of the current frame
+ */
+ int
+ getWidth() const;
+
+ /**
+ * gets the height in pixels of the image of the current frame
+ */
+ int
+ getHeight() const;
+
+ /**
* Sets the direction.
*/
void