src/Network/Object.hh
changeset 337 ecde18d07879
parent 328 51d644c8d5a2
child 400 d64bf28c4340
--- a/src/Network/Object.hh	Tue Dec 09 00:45:18 2008 +0000
+++ b/src/Network/Object.hh	Tue Dec 09 00:45:41 2008 +0000
@@ -186,6 +186,11 @@
 
     protected:
         /**
+         * Generic controller
+         */
+        NetworkObjectController &controller;
+
+        /**
          * This object's object id
          */
         NetworkObjectID obj_id;
@@ -200,6 +205,11 @@
         NetworkObject (NetworkObjectController &controller, NetworkObjectID obj_id);
         
         /**
+         * Removes this object from the controller's objects list
+         */
+        ~NetworkObject (void);
+        
+        /**
          * Abstract method to handle packets sent to this object
          *
          * @param node the NetworkNode that sent this packet to us