summaryrefslogtreecommitdiff
path: root/src/particle/imageparticle.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/imageparticle.h
parent950b1bc690ff36013e5e650572872ee7acd5e942 (diff)
downloadplus-af2677411d895573cf9bc225518d6a1a16079863.tar.gz
plus-af2677411d895573cf9bc225518d6a1a16079863.tar.bz2
plus-af2677411d895573cf9bc225518d6a1a16079863.tar.xz
plus-af2677411d895573cf9bc225518d6a1a16079863.zip
add final keyword to particles files.
Diffstat (limited to 'src/particle/imageparticle.h')
-rw-r--r--src/particle/imageparticle.h5
1 files changed, 3 insertions, 2 deletions
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<std::string, int> imageParticleCountByName;