summaryrefslogtreecommitdiff
path: root/src/particle/textparticle.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:18:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:18:21 +0300
commitaf2677411d895573cf9bc225518d6a1a16079863 (patch)
treeea7f4fd07c791ca61617943acab038d19b55b2e0 /src/particle/textparticle.h
parent950b1bc690ff36013e5e650572872ee7acd5e942 (diff)
downloadmv-af2677411d895573cf9bc225518d6a1a16079863.tar.gz
mv-af2677411d895573cf9bc225518d6a1a16079863.tar.bz2
mv-af2677411d895573cf9bc225518d6a1a16079863.tar.xz
mv-af2677411d895573cf9bc225518d6a1a16079863.zip
add final keyword to particles files.
Diffstat (limited to 'src/particle/textparticle.h')
-rw-r--r--src/particle/textparticle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/particle/textparticle.h b/src/particle/textparticle.h
index 272f1c6e1..7b63ff259 100644
--- a/src/particle/textparticle.h
+++ b/src/particle/textparticle.h
@@ -41,14 +41,14 @@ class TextParticle final : public Particle
* Draws the particle image.
*/
bool draw(Graphics *const graphics,
- const int offsetX, const int offsetY) const override;
+ const int offsetX, const int offsetY) const override final;
// hack to improve text visibility
- int getPixelY() const override A_WARN_UNUSED
+ int getPixelY() const override final A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
// hack to improve text visibility (for sorting only)
- int getSortPixelY() const override A_WARN_UNUSED
+ int getSortPixelY() const override final A_WARN_UNUSED
{ return static_cast<int>(mPos.y + mPos.z); }
private: