diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 21:52:04 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 21:52:04 -0600 |
commit | 78e67de6f70aab502a85578264b60493a818b39f (patch) | |
tree | 33e99673a23bd5d08ba116c3f8756cffc5f6779f /src/net/skillhandler.h | |
parent | 37432edac65a6b85c7a3414a421f2afd3e67a14e (diff) | |
download | mana-78e67de6f70aab502a85578264b60493a818b39f.tar.gz mana-78e67de6f70aab502a85578264b60493a818b39f.tar.bz2 mana-78e67de6f70aab502a85578264b60493a818b39f.tar.xz mana-78e67de6f70aab502a85578264b60493a818b39f.zip |
Make network handler functions virtual
Diffstat (limited to 'src/net/skillhandler.h')
-rw-r--r-- | src/net/skillhandler.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/net/skillhandler.h b/src/net/skillhandler.h index 1ab16f05..d0e6cd23 100644 --- a/src/net/skillhandler.h +++ b/src/net/skillhandler.h @@ -25,14 +25,17 @@ #include <iosfwd> namespace Net { - class SkillHandler - { - public: - void up(int skillId) {} - void use(int skillId, int level, int beingId) {} - void use(int skillId, int level, int x, int y) {} - void use(int skillId, const std::string &map) {} - }; +class SkillHandler +{ + public: + virtual void up(int skillId) {} + + virtual void use(int skillId, int level, int beingId) {} + + virtual void use(int skillId, int level, int x, int y) {} + + virtual void use(int skillId, const std::string &map) {} +}; } #endif // SKILLHANDLER_H |