summaryrefslogtreecommitdiff
path: root/src/animatedsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
commit0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch)
treeaebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/animatedsprite.h
parent4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff)
downloadmanaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz
manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2
manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz
manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip
Add missing override keywords.
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r--src/animatedsprite.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h
index d14e4bf7d..0d9c8e41e 100644
--- a/src/animatedsprite.h
+++ b/src/animatedsprite.h
@@ -72,28 +72,29 @@ class AnimatedSprite final : public Sprite
void draw(Graphics *const graphics,
const int posX, const int posY) const override final;
- int getWidth() const A_WARN_UNUSED;
+ int getWidth() const override final A_WARN_UNUSED;
- int getHeight() const A_WARN_UNUSED;
+ int getHeight() const override final A_WARN_UNUSED;
- const Image* getImage() const A_WARN_UNUSED;
+ const Image* getImage() const override final A_WARN_UNUSED;
- bool setSpriteDirection(const SpriteDirection::Type direction);
+ bool setSpriteDirection(const SpriteDirection::Type direction)
+ override final;
int getNumberOfLayers() const A_WARN_UNUSED
{ return 1; }
std::string getIdPath() const A_WARN_UNUSED;
- unsigned int getCurrentFrame() const A_WARN_UNUSED;
+ unsigned int getCurrentFrame() const override final A_WARN_UNUSED;
- unsigned int getFrameCount() const A_WARN_UNUSED;
+ unsigned int getFrameCount() const override final A_WARN_UNUSED;
void setAlpha(float alpha) override final;
const void *getHash() const override final A_WARN_UNUSED;
- bool updateNumber(const unsigned num);
+ bool updateNumber(const unsigned num) override final;
void clearDelayLoad();