summaryrefslogtreecommitdiff
path: root/src/imagesprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
commit5cbd0d2cb7086fda592c00dbc3b07d06af95f080 (patch)
treed36b4ac344f31f34311c7cb7a9a637ed48356e3e /src/imagesprite.h
parent4210163dae7d6266923ab11f78b631173c9533e3 (diff)
downloadplus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.gz
plus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.bz2
plus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.xz
plus-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.zip
Add const to more classes.
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r--src/imagesprite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h
index 4735070c5..debee945e 100644
--- a/src/imagesprite.h
+++ b/src/imagesprite.h
@@ -31,7 +31,7 @@ class Graphics;
class ImageSprite : public Sprite
{
public:
- ImageSprite(Image *image);
+ ImageSprite(Image *const image);
~ImageSprite();
@@ -58,7 +58,7 @@ public:
virtual bool setSpriteDirection(SpriteDirection direction A_UNUSED)
{ return false; }
- int getNumberOfLayers()
+ int getNumberOfLayers() const
{ return 1; }
unsigned int getCurrentFrame() const