示例#1
0
 public StupidController(WorldState world, ServerWrapper server)
     : base(world, server)
 {
     m_server.EndOfRunMessage += new ServerWrapper.EndOfRunMessageEventHandler(m_server_EndOfRunMessage);
     PopulateMoveTable();
     PopulateTurnTable();
 }
示例#2
0
        private static void Write_Callback(IAsyncResult ar)
        {
            ServerWrapper wrapper = (ServerWrapper)ar.AsyncState;

            wrapper.m_socket.EndSend(ar);
        }
示例#3
0
 public RoverController(WorldState world, ServerWrapper server)
 {
     World  = world;
     Server = server;
 }