summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 12b197a23..b587a8d1f 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -169,13 +169,13 @@ class Being notfinal : public ActorSprite,
/**
* Returns the tile x coord
*/
- int getTileX() const A_WARN_UNUSED
+ int getTileX() const override A_WARN_UNUSED
{ return mX; }
/**
* Returns the tile y coord
*/
- int getTileY() const A_WARN_UNUSED
+ int getTileY() const override A_WARN_UNUSED
{ return mY; }
/**
@@ -352,7 +352,7 @@ class Being notfinal : public ActorSprite,
/**
* Get the number of layers used to draw the being
*/
- int getNumberOfLayers() const A_WARN_UNUSED
+ int getNumberOfLayers() const override A_WARN_UNUSED
{ return CompoundSprite::getNumberOfLayers(); }
/**
@@ -387,14 +387,14 @@ class Being notfinal : public ActorSprite,
TargetCursorSize::Size getTargetCursorSize() const override final
A_WARN_UNUSED;
- int getTargetOffsetX() const A_WARN_UNUSED
+ int getTargetOffsetX() const override A_WARN_UNUSED
{
if (!mInfo)
return 0;
return mInfo->getTargetOffsetX();
}
- int getTargetOffsetY() const A_WARN_UNUSED
+ int getTargetOffsetY() const override A_WARN_UNUSED
{
if (!mInfo)
return 0;
@@ -414,7 +414,7 @@ class Being notfinal : public ActorSprite,
/**
* Gets the way the monster blocks pathfinding for other objects
*/
- BlockType::BlockType getBlockType() const A_WARN_UNUSED
+ BlockType::BlockType getBlockType() const override A_WARN_UNUSED
{
if (!mInfo)
return BlockType::NONE;
@@ -865,11 +865,11 @@ class Being notfinal : public ActorSprite,
*/
void setPath(const Path &path);
- int getSortPixelY() const A_WARN_UNUSED
+ int getSortPixelY() const override A_WARN_UNUSED
{ return static_cast<int>(mPos.y) - mYDiff - mSortOffsetY; }
// { return static_cast<int>(mPos.y) - mYDiff - mSortOffsetY + 16; }
- void setMap(Map *const map);
+ void setMap(Map *const map) override;
void recreateItemParticles();