diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:19:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:19:01 +0300 |
commit | b8c77348db8b0bf500cb6a13cce75c61a544c500 (patch) | |
tree | 5b7eb62121e5dc7d95c5e40b5e4cfa86e02375d8 /src/flooritem.h | |
parent | a4fb136ebf9272e6254081fa0586ce8b383857d9 (diff) | |
download | manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.gz manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.bz2 manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.xz manaplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.zip |
add final keyword to all other files.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r-- | src/flooritem.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/flooritem.h b/src/flooritem.h index 612dda22c..2d825b310 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -52,11 +52,11 @@ class FloorItem final : public ActorSprite void postInit(Map *const map, int subX, int subY); - Type getType() const override A_WARN_UNUSED + Type getType() const override final A_WARN_UNUSED { return FLOOR_ITEM; } bool draw(Graphics *const graphics, - const int offsetX, const int offsetY) const override; + const int offsetX, const int offsetY) const override final; /** * Returns the item ID. @@ -72,10 +72,10 @@ class FloorItem final : public ActorSprite std::string getName() const A_WARN_UNUSED; - int getTileX() const override A_WARN_UNUSED + int getTileX() const override final A_WARN_UNUSED { return mX; } - int getTileY() const override A_WARN_UNUSED + int getTileY() const override final A_WARN_UNUSED { return mY; } void incrementPickup() |