summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-26 02:48:32 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-26 02:48:32 +0300
commitab596ef3f4215f792feaa9ca1dfe5acb74c67328 (patch)
treeac5a4f31e2fa9c784d7de8d817654d47e21ccac2 /src/effectmanager.h
parent399f264360f6e8dfa31d0c3ff7d72aad8033888d (diff)
downloadmanaverse-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.tar.gz
manaverse-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.tar.bz2
manaverse-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.tar.xz
manaverse-ab596ef3f4215f792feaa9ca1dfe5acb74c67328.zip
Add const to some classes.
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r--src/effectmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h
index 7b71069fe..4c79b3e40 100644
--- a/src/effectmanager.h
+++ b/src/effectmanager.h
@@ -46,13 +46,13 @@ class EffectManager
* Triggers a effect with the id, at
* the specified being.
*/
- bool trigger(int id, Being* being);
+ bool trigger(const int id, Being *const being);
/**
* Triggers a effect with the id, at
* the specified x and y coordinate.
*/
- bool trigger(int id, int x, int y);
+ bool trigger(const int id, const int x, const int y);
private:
std::vector<EffectDescription> mEffects;