summaryrefslogtreecommitdiff
path: root/src/net/skillhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-10 20:54:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-10 20:54:27 +0300
commitfc199c3ae60d4c4cf76236c7f4891113daa3cbc4 (patch)
tree0ecb3d397a9224c280bebfa22aeb1588edf63371 /src/net/skillhandler.h
parentb748c8947e6225376e77b09f4c7c335985d934ef (diff)
downloadmanaplus-fc199c3ae60d4c4cf76236c7f4891113daa3cbc4.tar.gz
manaplus-fc199c3ae60d4c4cf76236c7f4891113daa3cbc4.tar.bz2
manaplus-fc199c3ae60d4c4cf76236c7f4891113daa3cbc4.tar.xz
manaplus-fc199c3ae60d4c4cf76236c7f4891113daa3cbc4.zip
improve skillhandler class.
Diffstat (limited to 'src/net/skillhandler.h')
-rw-r--r--src/net/skillhandler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/skillhandler.h b/src/net/skillhandler.h
index fa044ebd6..6e8b786a9 100644
--- a/src/net/skillhandler.h
+++ b/src/net/skillhandler.h
@@ -33,13 +33,13 @@ class SkillHandler
virtual ~SkillHandler ()
{ }
- virtual void use(int id) = 0;
+ virtual void useBeing(const int id, const int level,
+ const int beingId) const = 0;
- virtual void useBeing(int id, int level, int beingId) = 0;
+ virtual void usePos(const int id, const int level,
+ const int x, const int y) const = 0;
- virtual void usePos(int id, int level, int x, int y) = 0;
-
- virtual void useMap(int id, const std::string &map) = 0;
+ virtual void useMap(const int id, const std::string &map) const = 0;
};
}