public StupidController(WorldState world, ServerWrapper server) : base(world, server) { m_server.EndOfRunMessage += new ServerWrapper.EndOfRunMessageEventHandler(m_server_EndOfRunMessage); PopulateMoveTable(); PopulateTurnTable(); }
private static void Write_Callback(IAsyncResult ar) { ServerWrapper wrapper = (ServerWrapper)ar.AsyncState; wrapper.m_socket.EndSend(ar); }
public RoverController(WorldState world, ServerWrapper server) { World = world; Server = server; }