public static GameClient GetLocalClient() { LocalClient serverClient = new LocalClient(_handlers); GameClient client = new LocalClient(serverClient); AddClient(serverClient); return(client); }
public LocalClient(LocalClient pair) { _pair = pair; pair._pair = this; }
public override void Close() { _pair = null; }