summaryrefslogtreecommitdiff
path: root/src/statuseffect.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-02 17:26:44 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-02 17:27:39 +0100
commit72ceaaa426166bfa425f519c2418a66872839e12 (patch)
tree1ce7253fc629d4df445b89b2f533899341f03fc5 /src/statuseffect.h
parent78d6d9352f66f41963207b04a999d94c17d67cf2 (diff)
downloadmana-72ceaaa426166bfa425f519c2418a66872839e12.tar.gz
mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.bz2
mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.xz
mana-72ceaaa426166bfa425f519c2418a66872839e12.zip
Changed server type to "enum class"
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index 5b1a7e23..20e106a2 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -25,7 +25,6 @@
#include "particle.h"
#include "animatedsprite.h"
-#include "resources/animation.h"
#include "utils/xml.h"
class StatusEffect
@@ -59,7 +58,7 @@ public:
/**
* Retrieves an action to perform, or SpriteAction::INVALID
*/
- std::string getAction();
+ std::string getAction() const;
/**
* Determines whether the particle effect should be restarted when the
@@ -110,7 +109,7 @@ private:
std::string mParticleEffect;
std::string mIcon;
std::string mAction;
- bool mPersistentParticleEffect;
+ bool mPersistentParticleEffect = false;
};
#endif // !defined(STATUS_EFFECT_H)