From 800b0f0477ac00a447aa958d1974e2c01d4eaa6c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Mar 2016 17:03:45 +0300 Subject: Remove some getters from StatusEffect. --- src/statuseffect.h | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/statuseffect.h') 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; -- cgit v1.2.3-70-g09d2