summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-03 18:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-03 19:03:30 +0300
commit98db78be9552b039090ce5dfc53803df2dd54b41 (patch)
treeefda1a43723e8e11e075dcfef2776fe38c7cb3da /src/animatedsprite.h
parentd7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff)
downloadmv-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz
mv-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2
mv-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz
mv-98db78be9552b039090ce5dfc53803df2dd54b41.zip
Add some missing getters.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index 4a41eac52..d28badfc1 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -71,10 +71,10 @@ class AnimatedSprite : public Sprite
bool setSpriteDirection(SpriteDirection direction);
- int getNumberOfLayers()
+ int getNumberOfLayers() const
{ return 1; }
- std::string getIdPath();
+ std::string getIdPath() const;
unsigned int getCurrentFrame() const;