Example #1
0
        //Метод для подключения второго игрока
        public void Join(ServerPlayer player2)
        {
            this.player2 = player2;

            StartGame();
        }
Example #2
0
 public Room(int roomId, ServerPlayer player1)
 {
     this.roomId  = roomId;
     this.player1 = player1;
     syncThread   = new Thread(new ThreadStart(Sync));
 }