コード例 #1
0
 public bool AbleToThrowAll()
 {
     if (scoreboardController.GetAmountOfThrows() < scoreboardController.GetMaxAmountOfThrows())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
 public void UpdateUI()
 {
     lblPoints.Text = "Points: " + controller.GetPoints().ToString();
     lblThrows.Text = "Throws: " + controller.GetAmountOfThrows() + "/" + controller.GetMaxAmountOfThrows();
 }