예제 #1
0
 void UpdateUI()
 {
     if (GameObject.Find("UI"))
     {
         TurnLabel.text   = "Phase: " + currentPhase.ToString();
         PlayerLabel.text = "Player: " + ActivePlayer.name;
         GoldLabel.text   = "Gold: " + ActivePlayer.Gold.ToString();
         LevelLabel.text  = "Level: " + ActivePlayer.Level.ToString();
         PowerLabel.text  = "Power: " + ActivePlayer.Power.ToString();
     }
 }
예제 #2
0
 void UpdateTurnUI()
 {
     turnDetails.text = "Current Turn: " + currentTurn + "\nCurrent Turn Phase: " + currentTurnPhase.ToString();
 }
예제 #3
0
 void CmdBroadCastPlayerChange()
 {
     PlayerChange.Invoke(m_ActivePlayer, currentPhase.ToString());
 }