diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-07 16:22:54 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-05-07 16:22:54 +0000 |
commit | 8313edcc163bfecd1c41a7faf55f51379189b92b (patch) | |
tree | ebb6f1db2038b3277aca90efe4061c5b8e1820c4 /src/animatedsprite.h | |
parent | 279b74f292a45709afcddeea6667d0096d06fd3f (diff) | |
download | mana-8313edcc163bfecd1c41a7faf55f51379189b92b.tar.gz mana-8313edcc163bfecd1c41a7faf55f51379189b92b.tar.bz2 mana-8313edcc163bfecd1c41a7faf55f51379189b92b.tar.xz mana-8313edcc163bfecd1c41a7faf55f51379189b92b.zip |
Fixed positioning of monster names and target circles.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 12 |
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 |