summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-05 21:33:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-05 21:33:44 +0300
commite6d7fca349c28eaf98d643325dc99dd9d3a53568 (patch)
tree84ac779d45a0094dde45d9a05039db41d568adbf /src/effectmanager.h
parenta48638c5e9bfc04876661ea938eed4a3ab9e5c42 (diff)
downloadplus-e6d7fca349c28eaf98d643325dc99dd9d3a53568.tar.gz
plus-e6d7fca349c28eaf98d643325dc99dd9d3a53568.tar.bz2
plus-e6d7fca349c28eaf98d643325dc99dd9d3a53568.tar.xz
plus-e6d7fca349c28eaf98d643325dc99dd9d3a53568.zip
first part for adding mobs particle effects.
Based on mana commit b35aef2d924f03d85eb44a2465be5a745444eafd by Yohann Ferreira
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index 190f1d0ce..b877b2cf1 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -48,13 +48,14 @@ class EffectManager final
* Triggers a effect with the id, at
* the specified being.
*/
- bool trigger(const int id, Being *const being);
+ bool trigger(const int id, Being *const being, const int rotation = 0);
/**
* Triggers a effect with the id, at
* the specified x and y coordinate.
*/
- bool trigger(const int id, const int x, const int y);
+ bool trigger(const int id, const int x, const int y,
+ const int rotation = 0);
private:
std::vector<EffectDescription> mEffects;