summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index 3ebc0f805..0e81ffa44 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -24,6 +24,7 @@
#define EFFECTMANAGER_H
#include "resources/effectdescription.h"
+#include "resources/spritedirection.h"
#include <vector>
@@ -49,6 +50,9 @@ class EffectManager final
*/
bool trigger(const int id, Being *const being, const int rotation = 0);
+ bool triggerDirection(const int id, Being *const being,
+ const SpriteDirection::Type &direction);
+
Particle *triggerReturn(const int id, Being *const being,
const int rotation = 0);
@@ -59,6 +63,10 @@ class EffectManager final
bool trigger(const int id, const int x, const int y,
const int rotation = 0);
+ void triggerDefault(int effectId,
+ Being *const being,
+ const int defaultEffectId);
+
private:
std::vector<EffectDescription> mEffects;
};