Exemplo n.º 1
0
 public void OnRoundComplete(RoundCompleteResponse response)
 {
     _isEliminated = false;
     ResetPlayerPanel();
     for (int i = 0; i < response.result.Count; i++)
     {
         resultPanels[i].UpdateState(true);
         resultPanels[i].PlayerPanelReset();
         resultPanels[i].SetDetails(response.result[i]);
         //if (response.result[i].isEliminated && response.result[i].userId == int.Parse(GameVariable.GameVariables.userId) || response.roundOver)
         //{
         //    OnPlayerRemove();
         //}
     }
     for (int i = response.result.Count; i < resultPanels.Count; i++)
     {
         resultPanels[i].UpdateState(false);
     }
 }
Exemplo n.º 2
0
 internal void SetRoundCompleteData(RoundCompleteResponse response)
 {
     resultScreen.OnRoundComplete(response);
 }
Exemplo n.º 3
0
 internal void SetResultScreeenData(RoundCompleteResponse response)
 {
     gameplayController.SetRoundCompleteData(response);
 }
Exemplo n.º 4
0
 private void OnRoundComplete(RoundCompleteResponse response)
 {
     //Show Results
     UiManager.GetInstance.EnableResultScreen();
     UiManager.GetInstance.SetResultScreeenData(response);
 }