src/Network/Server.hh
changeset 408 e6cfc44266af
parent 400 d64bf28c4340
child 431 c6d7272a164b
--- a/src/Network/Server.hh	Tue Jan 20 23:24:04 2009 +0200
+++ b/src/Network/Server.hh	Tue Jan 20 23:30:18 2009 +0200
@@ -67,6 +67,12 @@
          * our list of players
          */
         void on_node_connected (NetworkNode *node);
+        
+        /**
+         * Called from on_node_connected to send the initial Terrain data using the NETCHAN_TERRAIN_ARRAY channel to
+         * the given node.
+         */
+        void send_terrain_data (NetworkNode *node);
 };
 
 /**
@@ -139,11 +145,6 @@
         void on_input (NetworkNode *node, NetworkPacketInput &pkt);
         
         /**
-         * Called from the constructor to send the initial Terrain data using the NETCHAN_TERRAIN_ARRAY channel.
-         */
-        void send_terrain_data (void);
-
-        /**
          * Called from on_input to broadcast an unreliable position update with this player's physics state
          */
         void send_position_update (void);