summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index 5d18ac92..c720ed97 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -60,6 +60,12 @@ public:
*/
SpriteAction getAction();
+ /**
+ * Determines whether the particle effect should be restarted when the
+ * being changes maps
+ */
+ bool particleEffectIsPersistent() const { return mPersistentParticleEffect; }
+
/**
* Retrieves a status effect.
@@ -96,6 +102,7 @@ private:
std::string mParticleEffect;
std::string mIcon;
std::string mAction;
+ bool mPersistentParticleEffect;
};
#endif // !defined(STATUS_EFFECT_H)