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/tradehandler.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/tradehandler.h')
-rw-r--r-- | src/net/tradehandler.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/net/tradehandler.h b/src/net/tradehandler.h index 84de3196..912e336d 100644 --- a/src/net/tradehandler.h +++ b/src/net/tradehandler.h @@ -27,25 +27,25 @@ #include <iosfwd> namespace Net { - class TradeHandler - { - public: - void request(Being *being) {} +class TradeHandler +{ + public: + virtual void request(Being *being) {} - void respond(bool accepet) {} + virtual void respond(bool accepet) {} - void addItem(int slotNum, int amount) {} + virtual void addItem(int slotNum, int amount) {} - void removeItem(int slotNum, int amount) {} + virtual void removeItem(int slotNum, int amount) {} - void setMoney(int amount) {} + virtual void setMoney(int amount) {} - void confirm() {} + virtual void confirm() {} - void finish() {} + virtual void finish() {} - void cancel() {} - }; + virtual void cancel() {} +}; } #endif // TRADEHANDLER_H |