public void ConnectAttacker(IApiClient client, SetupController setupController)
 {
     if (!IsGameRoomCreated())
     {
         client.ErrorOccured("Trying connect attacker before room was created");
         return;
     }
     client.AttackerConnected();
     GameRoomState.IsAttackerConnected = true;
     if (GameRoomState.IsAttackerConnected && GameRoomState.IsDefenderConnected)
     {
         setupController.BeginFirstRoundSetup(client);
     }
 }
 public void ConnectAttacker(IApiClient client, SetupController setupController)
 {
     if (!IsGameRoomCreated())
     {
         client.ErrorOccured("Trying connect attacker before room was created");
         return;
     }
     client.AttackerConnected();
     GameRoomState.IsAttackerConnected = true;
     if (GameRoomState.IsAttackerConnected && GameRoomState.IsDefenderConnected)
     {
         setupController.BeginFirstRoundSetup(client);
     }
 }