diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being.h b/src/being.h index 32cfcf99..dbfd82f1 100644 --- a/src/being.h +++ b/src/being.h @@ -116,7 +116,7 @@ class Being : public ActorSprite, public EventListener ~Being() override; - Type getType() const override + Type getType() const final { return mType; } /** @@ -369,7 +369,7 @@ class Being : public ActorSprite, public EventListener SpriteDirection getSpriteDirection() const { return SpriteDirection(mSpriteDirection); } - void setPosition(const Vector &pos) override; + void setPosition(const Vector &pos) final; /** * Overloaded method provided for convenience. @@ -441,7 +441,7 @@ class Being : public ActorSprite, public EventListener void event(Event::Channel channel, const Event &event) override; - void setMap(Map *map) override; + void setMap(Map *map) final; /** * Make the being look at a given pixel position. |