summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index ef1e0f27..8302990e 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -42,15 +42,19 @@ class EffectManager
/**
* Triggers a effect with the id, at
- * the specified being.
+ * the specified being,
+ * and with the given rotation in degree:
+ * 0° = Down, 90° = left, ...
*/
- bool trigger(int id, Being* being);
+ bool trigger(int id, Being* being, int rotation = 0);
/**
* Triggers a effect with the id, at
- * the specified x and y coordinate.
+ * the specified x and y coordinate,
+ * and with the given rotation in degree:
+ * 0° = Down, 90° = left, ...
*/
- bool trigger(int id, int x, int y);
+ bool trigger(int id, int x, int y, int rotation = 0);
private:
std::list<EffectDescription> mEffects;