summaryrefslogtreecommitdiff
path: root/src/particle.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-07-08 13:39:11 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-07-08 13:39:11 +0000
commit016faf8449aeb7dba2738da4fefa3609b3af589c (patch)
treebc25d08ff2df0ad2ba8f50886c83c06d78b6d11a /src/particle.h
parent1dab7893195814ba916bb9ec212a7084fd67fb97 (diff)
downloadmana-016faf8449aeb7dba2738da4fefa3609b3af589c.tar.gz
mana-016faf8449aeb7dba2738da4fefa3609b3af589c.tar.bz2
mana-016faf8449aeb7dba2738da4fefa3609b3af589c.tar.xz
mana-016faf8449aeb7dba2738da4fefa3609b3af589c.zip
Merged 0.0 changes from revision 3317 to 3362 to trunk.
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 7a747a5f..9e9223c7 100644
--- a/src/particle.h
+++ b/src/particle.h
@@ -243,6 +243,9 @@ class Particle : public Sprite
void setDieDistance(float dist)
{ mInvDieDistance = 1.0f / dist; }
+ bool isAlive()
+ { return mAlive; }
+
/**
* Manually marks the particle for deletion
*/