summaryrefslogtreecommitdiff
path: root/src/imageparticle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imageparticle.h')
-rw-r--r--src/imageparticle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imageparticle.h b/src/imageparticle.h
index d4f819660..ca5aadd1b 100644
--- a/src/imageparticle.h
+++ b/src/imageparticle.h
@@ -57,6 +57,9 @@ class ImageParticle : public Particle
virtual bool draw(Graphics *graphics,
int offsetX, int offsetY) const override;
+ virtual void setAlpha(const float alpha) override
+ { mAlpha = alpha; }
+
static std::map<std::string, int> imageParticleCountByName;
protected:
Image *mImage; /**< The image used for this particle. */