From eea33c9a746a7e44f7f61d13d679c9c9535a7244 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Mar 2016 15:39:21 +0300 Subject: Remove some unused functions from compoundsprite. --- src/being/compoundsprite.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/being/compoundsprite.h') 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; -- cgit v1.2.3-60-g2f50