summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:18:49 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:18:49 +0300
commita4fb136ebf9272e6254081fa0586ce8b383857d9 (patch)
treef85c7d327f161afb16eb56d68291c69bc12ba5d6 /src/being/actorsprite.h
parent812d9efc5f3ef90c81ffa04c3780cd0ada7e3e71 (diff)
downloadmv-a4fb136ebf9272e6254081fa0586ce8b383857d9.tar.gz
mv-a4fb136ebf9272e6254081fa0586ce8b383857d9.tar.bz2
mv-a4fb136ebf9272e6254081fa0586ce8b383857d9.tar.xz
mv-a4fb136ebf9272e6254081fa0586ce8b383857d9.zip
add final keyword to being files.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 84b86d5ec..db1e4a47d 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -89,7 +89,8 @@ public:
{ return UNKNOWN; }
virtual bool draw(Graphics *const graphics,
- const int offsetX, const int offsetY) const override;
+ const int offsetX,
+ const int offsetY) const override;
virtual bool drawSpriteAt(Graphics *const graphics,
const int x, const int y) const;
@@ -155,10 +156,10 @@ public:
*/
void setStatusEffectBlock(const int offset, const uint16_t flags);
- virtual void setAlpha(const float alpha) override
+ virtual void setAlpha(const float alpha) override final
{ CompoundSprite::setAlpha(alpha); }
- virtual float getAlpha() const override A_WARN_UNUSED
+ virtual float getAlpha() const override final A_WARN_UNUSED
{ return CompoundSprite::getAlpha(); }
virtual int getWidth() const override A_WARN_UNUSED