Ejemplo n.º 1
0
 public void LoadComplite(ClientTCP client)
 {
     lock (expectant)
     {
         _loadedTCP[client.ID] = true;
         foreach (bool loaded in _loadedTCP)
         {
             if (!loaded)
             {
                 return;
             }
         }
         foreach (bool loaded in _loadedUDP)
         {
             if (!loaded)
             {
                 return;
             }
         }
         Status = RoomState.Playing;
         SendDataTCP.SendRoomStart(this);
         StartUpdate();
     }
 }