summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-19 03:10:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-19 13:17:00 +0300
commit4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9 (patch)
tree1eab9247b1b58d448d64e25f6906447dfba53bd4 /src/effectmanager.h
parent2a09c2afe8bd1f476ef1901c9c639896534a081c (diff)
downloadmv-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.tar.gz
mv-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.tar.bz2
mv-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.tar.xz
mv-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.zip
Add support for away particle effect.
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index 279426638..b5d8e5bfc 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -30,6 +30,7 @@
#include "localconsts.h"
class Being;
+class Particle;
class EffectManager final
{
@@ -53,6 +54,9 @@ class EffectManager final
*/
bool trigger(const int id, Being *const being, const int rotation = 0);
+ Particle *triggerReturn(const int id, Being *const being,
+ const int rotation = 0);
+
/**
* Triggers a effect with the id, at
* the specified x and y coordinate.