From af2677411d895573cf9bc225518d6a1a16079863 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:18:21 +0300 Subject: add final keyword to particles files. --- src/particle/imageparticle.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/particle/imageparticle.h') diff --git a/src/particle/imageparticle.h b/src/particle/imageparticle.h index c05b2316e..daae640ce 100644 --- a/src/particle/imageparticle.h +++ b/src/particle/imageparticle.h @@ -54,9 +54,10 @@ class ImageParticle : public Particle * Draws the particle image */ virtual bool draw(Graphics *const graphics, - const int offsetX, const int offsetY) const override; + const int offsetX, + const int offsetY) const override final; - virtual void setAlpha(const float alpha) override + virtual void setAlpha(const float alpha) override final { mAlpha = alpha; } static std::map imageParticleCountByName; -- cgit v1.2.3-60-g2f50