diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-07-08 13:39:11 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-07-08 13:39:11 +0000 |
commit | 016faf8449aeb7dba2738da4fefa3609b3af589c (patch) | |
tree | bc25d08ff2df0ad2ba8f50886c83c06d78b6d11a /src/particle.h | |
parent | 1dab7893195814ba916bb9ec212a7084fd67fb97 (diff) | |
download | mana-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.h | 3 |
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 */ |