From 78e67de6f70aab502a85578264b60493a818b39f Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 31 Mar 2009 21:52:04 -0600 Subject: Make network handler functions virtual --- src/net/tradehandler.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/net/tradehandler.h') 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 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 -- cgit v1.2.3-70-g09d2