summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 15:39:21 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 15:39:21 +0300
commiteea33c9a746a7e44f7f61d13d679c9c9535a7244 (patch)
tree1bcc9a1d27e67e3d1a7193c3dcf48ad50c2229a1 /src/being/compoundsprite.h
parent85e6c889657721c0b2314c699a4989fb382c7c40 (diff)
downloadmv-eea33c9a746a7e44f7f61d13d679c9c9535a7244.tar.gz
mv-eea33c9a746a7e44f7f61d13d679c9c9535a7244.tar.bz2
mv-eea33c9a746a7e44f7f61d13d679c9c9535a7244.tar.xz
mv-eea33c9a746a7e44f7f61d13d679c9c9535a7244.zip
Remove some unused functions from compoundsprite.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 4f168b9fd..d50f20b2d 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -83,7 +83,7 @@ class CompoundSprite notfinal : public Sprite
void clear();
- void ensureSize(size_t layerCount);
+ void ensureSize(const size_t layerCount);
virtual void drawSprites(Graphics *const graphics,
const int posX,
@@ -93,18 +93,6 @@ class CompoundSprite notfinal : public Sprite
const int posX,
const int posY) const;
- /**
- * Returns the curent frame in the current animation of the given
- * layer.
- */
- virtual unsigned int getCurrentFrame(unsigned int layer)
- const A_WARN_UNUSED;
-
- /**
- * Returns the frame count in the current animation of the given layer.
- */
- virtual unsigned int getFrameCount(unsigned int layer) A_WARN_UNUSED;
-
void setAlpha(float alpha) override;
bool updateNumber(const unsigned num) override final;