summaryrefslogtreecommitdiff
path: root/src/being/compoundsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-02 12:26:23 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-02 12:26:23 +0300
commit124e28787a66fc1ae882afbb5711b08620b51563 (patch)
tree5f172652494234e6caae74cf04a2cd4d0083cbf0 /src/being/compoundsprite.h
parent48746ecb8cd94270f143cc7d722188d2e77c3101 (diff)
downloadmanaplus-124e28787a66fc1ae882afbb5711b08620b51563.tar.gz
manaplus-124e28787a66fc1ae882afbb5711b08620b51563.tar.bz2
manaplus-124e28787a66fc1ae882afbb5711b08620b51563.tar.xz
manaplus-124e28787a66fc1ae882afbb5711b08620b51563.zip
Remove useless virtual keywords.
Diffstat (limited to 'src/being/compoundsprite.h')
-rw-r--r--src/being/compoundsprite.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h
index 4017e3038..3e48ffdf7 100644
--- a/src/being/compoundsprite.h
+++ b/src/being/compoundsprite.h
@@ -44,29 +44,30 @@ class CompoundSprite notfinal : public Sprite
virtual ~CompoundSprite();
- virtual bool reset() override final;
+ bool reset() override final;
- virtual bool play(const std::string &action) override final;
+ bool play(const std::string &action) override final;
- virtual bool update(const int time) override final;
+ bool update(const int time) override final;
- virtual void draw(Graphics *const graphics,
- const int posX, const int posY) const override;
+ void draw(Graphics *const graphics,
+ const int posX,
+ const int posY) const override;
/**
* Gets the width in pixels of the first sprite in the list.
*/
- virtual int getWidth() const override A_WARN_UNUSED;
+ int getWidth() const override A_WARN_UNUSED;
/**
* Gets the height in pixels of the first sprite in the list.
*/
- virtual int getHeight() const override A_WARN_UNUSED;
+ int getHeight() const override A_WARN_UNUSED;
- virtual const Image *getImage() const override final A_WARN_UNUSED;
+ const Image *getImage() const override final A_WARN_UNUSED;
- virtual bool setSpriteDirection(const SpriteDirection::Type direction)
- override final;
+ bool setSpriteDirection(const SpriteDirection::Type direction)
+ override final;
int getNumberOfLayers() const A_WARN_UNUSED;
@@ -111,7 +112,7 @@ class CompoundSprite notfinal : public Sprite
*/
virtual unsigned int getFrameCount(unsigned int layer) A_WARN_UNUSED;
- virtual void setAlpha(float alpha) override;
+ void setAlpha(float alpha) override;
bool updateNumber(const unsigned num) override final;