diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-21 17:03:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-21 17:03:45 +0300 |
commit | 800b0f0477ac00a447aa958d1974e2c01d4eaa6c (patch) | |
tree | 40bd91cef8f3890bfcaec92f0058d6a6027ac171 /src/statuseffect.h | |
parent | ac4e40a1408ad4d6fbcfce9d2bc6a0bc187ea5a4 (diff) | |
download | manaverse-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.gz manaverse-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.bz2 manaverse-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.tar.xz manaverse-800b0f0477ac00a447aa958d1974e2c01d4eaa6c.zip |
Remove some getters from StatusEffect.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r-- | src/statuseffect.h | 27 |
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; |