summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-21 17:03:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-21 17:03:45 +0300
commit800b0f0477ac00a447aa958d1974e2c01d4eaa6c (patch)
tree40bd91cef8f3890bfcaec92f0058d6a6027ac171 /src/statuseffect.h
parentac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 (diff)
downloadplus-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.gz
plus-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.bz2
plus-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.xz
plus-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.zip
Remove some getters from StatusEffect.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index b1a2d1d3e..3e35860b1 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -69,38 +69,13 @@ class StatusEffect final
*/
std::string getAction() const A_WARN_UNUSED;
- std::string getName() const A_WARN_UNUSED
- { return mName; }
-
- /**
- * Determines whether the particle effect should be restarted when the
- * being changes maps
- */
- bool particleEffectIsPersistent() const A_WARN_UNUSED
- { return mPersistentParticleEffect; }
-
- bool isPoison() const A_WARN_UNUSED
- { return mIsPoison; }
-
- bool isCart() const A_WARN_UNUSED
- { return mIsCart; }
-
- bool isRiding() const A_WARN_UNUSED
- { return mIsRiding; }
-
- bool isTrickDead() const A_WARN_UNUSED
- { return mIsTrickDead; }
-
- bool isPostDelay() const A_WARN_UNUSED
- { return mIsPostDelay; }
-
std::string mMessage;
std::string mSFXEffect;
std::string mParticleEffect;
std::string mIcon;
std::string mAction;
std::string mName;
- bool mPersistentParticleEffect;
+ bool mIsPersistent;
bool mIsPoison;
bool mIsCart;
bool mIsRiding;