summaryrefslogtreecommitdiff
path: root/src/flooritem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:19:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:19:01 +0300
commitb8c77348db8b0bf500cb6a13cce75c61a544c500 (patch)
tree5b7eb62121e5dc7d95c5e40b5e4cfa86e02375d8 /src/flooritem.h
parenta4fb136ebf9272e6254081fa0586ce8b383857d9 (diff)
downloadplus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.gz
plus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.bz2
plus-b8c77348db8b0bf500cb6a13cce75c61a544c500.tar.xz
plus-b8c77348db8b0bf500cb6a13cce75c61a544c500.zip
add final keyword to all other files.
Diffstat (limited to 'src/flooritem.h')
-rw-r--r--src/flooritem.h8
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()