diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:49 +0300 |
commit | a4fb136ebf9272e6254081fa0586ce8b383857d9 (patch) | |
tree | f85c7d327f161afb16eb56d68291c69bc12ba5d6 /src/being/compoundsprite.h | |
parent | 812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71 (diff) | |
download | manaplus-a4fb136ebf9272e6254081fa0586ce8b383857d9.tar.gz manaplus-a4fb136ebf9272e6254081fa0586ce8b383857d9.tar.bz2 manaplus-a4fb136ebf9272e6254081fa0586ce8b383857d9.tar.xz manaplus-a4fb136ebf9272e6254081fa0586ce8b383857d9.zip |
add final keyword to being files.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r-- | src/being/compoundsprite.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h index 5cdebd6d6..1ffa0edd4 100644 --- a/src/being/compoundsprite.h +++ b/src/being/compoundsprite.h @@ -59,11 +59,11 @@ public: virtual ~CompoundSprite(); - virtual bool reset() override; + virtual bool reset() override final; - virtual bool play(const std::string &action) override; + virtual bool play(const std::string &action) override final; - virtual bool update(const int time) override; + virtual bool update(const int time) override final; virtual bool draw(Graphics *const graphics, const int posX, const int posY) const override; @@ -78,15 +78,16 @@ public: */ virtual int getHeight() const override A_WARN_UNUSED; - virtual const Image *getImage() const override A_WARN_UNUSED; + virtual const Image *getImage() const override final A_WARN_UNUSED; - virtual bool setSpriteDirection(const SpriteDirection direction) override; + virtual bool setSpriteDirection(const SpriteDirection direction) + override final; int getNumberOfLayers() const A_WARN_UNUSED; - unsigned int getCurrentFrame() const override A_WARN_UNUSED; + unsigned int getCurrentFrame() const override final A_WARN_UNUSED; - unsigned int getFrameCount() const override A_WARN_UNUSED; + unsigned int getFrameCount() const override final A_WARN_UNUSED; size_t size() const A_WARN_UNUSED { return mSprites.size(); } @@ -126,7 +127,7 @@ public: virtual void setAlpha(float alpha) override; - bool updateNumber(const unsigned num) override; + bool updateNumber(const unsigned num) override final; static void setEnableDelay(bool b) { mEnableDelay = b; } |