summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textparticle.h')
-rw-r--r--src/textparticle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textparticle.h b/src/textparticle.h
index ef79314d..d70cc5b9 100644
--- a/src/textparticle.h
+++ b/src/textparticle.h
@@ -34,17 +34,17 @@ class TextParticle : public Particle
/**
* Draws the particle image.
*/
- virtual bool draw(Graphics *graphics, int offsetX, int offsetY) const;
+ bool draw(Graphics *graphics, int offsetX, int offsetY) const override;
// hack to improve text visibility
- virtual int getDrawOrder() const
+ int getDrawOrder() const override
{ return (int) (mPos.y) + 32; }
/** In contrary to other particles, text particles should not be
* obscured by objects, because their information is too
* important.
*/
- virtual bool drawnWhenBehind() const
+ bool drawnWhenBehind() const override
{ return true; }
private: