From 060b5d24f824de45342c8ea1bab8fc98c08b369d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 18 Jul 2010 12:11:39 -0600 Subject: Replace some state-related netcode methods with events Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller --- src/net/specialhandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/specialhandler.h') diff --git a/src/net/specialhandler.h b/src/net/specialhandler.h index 21e3a4b7..89fcdf7d 100644 --- a/src/net/specialhandler.h +++ b/src/net/specialhandler.h @@ -28,6 +28,8 @@ namespace Net { class SpecialHandler { public: + virtual ~SpecialHandler () {} + virtual void use(int id) = 0; virtual void use(int id, int level, int beingId) = 0; @@ -35,8 +37,6 @@ class SpecialHandler virtual void use(int id, int level, int x, int y) = 0; virtual void use(int id, const std::string &map) = 0; - - virtual ~SpecialHandler () {} }; } -- cgit v1.2.3-70-g09d2