summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.h')
-rw-r--r--src/particle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/particle.h b/src/particle.h
index 0690e8c4..69f8c2be 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -286,6 +286,9 @@ class Particle : public Sprite
{ return 1; }
protected:
+ /** Calculates the current alpha transparency taking current fade status into account*/
+ float getCurrentAlpha() const;
+
bool mAlive; /**< Is the particle supposed to be drawn and updated?*/
Vector mPos; /**< Position in pixels relative to map. */
int mLifetimeLeft; /**< Lifetime left in game ticks*/