예제 #1
0
 public void SetRoundState(RoundState roundState)
 {
     this.roundState = roundState;
     inGameUI.SetRoundState(roundState);
     if (roundState == RoundState.TOP_DOWN)
     {
         turretCreatorNode.Visible = false;
         weaponUpgrader.Visible    = false;
     }
     else
     {
         if (round > 0)
         {
             inGameUI.AddKill("Round Survived: +" + (roundBonusBase * round));
             Spend(-roundBonusBase * round);
         }
     }
 }