Beispiel #1
0
        public static GameClient GetLocalClient()
        {
            LocalClient serverClient = new LocalClient(_handlers);
            GameClient  client       = new LocalClient(serverClient);

            AddClient(serverClient);
            return(client);
        }
Beispiel #2
0
 public LocalClient(LocalClient pair)
 {
     _pair      = pair;
     pair._pair = this;
 }
Beispiel #3
0
 public override void Close()
 {
     _pair = null;
 }