summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/particle.h b/src/particle.h
index 04a1b3e85..fc0090c61 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -105,18 +105,18 @@ class Particle : public Actor
/**
* Draws the particle image.
*/
- virtual bool draw(Graphics *graphics, int offsetX, int offsetY) const;
+ virtual bool draw(Graphics *graphics, int offsetX, int offsetY) const override;
/**
* Necessary for sorting with the other sprites.
*/
- virtual int getPixelY() const
+ virtual int getPixelY() const override
{ return static_cast<int>(mPos.y) - 16; }
/**
* Necessary for sorting with the other sprites for sorting only.
*/
- virtual int getSortPixelY() const
+ virtual int getSortPixelY() const override
{ return static_cast<int>(mPos.y) - 16; }
/**
@@ -284,7 +284,7 @@ class Particle : public Actor
virtual float getAlpha() const
{ return 1.0f; }
- virtual void setAlpha(const float alpha A_UNUSED)
+ virtual void setAlpha(const float alpha A_UNUSED) override
{ }
virtual void setDeathEffect(const std::string &effectFile,