diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:18:21 +0300 |
commit | af2677411d895573cf9bc225518d6a1a16079863 (patch) | |
tree | ea7f4fd07c791ca61617943acab038d19b55b2e0 /src/particle/imageparticle.h | |
parent | 950b1bc690ff36013e5e650572872ee7acd5e942 (diff) | |
download | manaverse-af2677411d895573cf9bc225518d6a1a16079863.tar.gz manaverse-af2677411d895573cf9bc225518d6a1a16079863.tar.bz2 manaverse-af2677411d895573cf9bc225518d6a1a16079863.tar.xz manaverse-af2677411d895573cf9bc225518d6a1a16079863.zip |
add final keyword to particles files.
Diffstat (limited to 'src/particle/imageparticle.h')
-rw-r--r-- | src/particle/imageparticle.h | 5 |
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; |