Exemple #1
0
 public void Bowl(int pinFall)
 {
     try {
         rolls.Add(pinFall);
         ball.Reset();
         pinSetter.PerformAction(ActionMaster.NextAction(rolls));
     } catch {
         Debug.LogWarning("Something went wrong in Bowl()");
     }
     try {
         scoreDisplay.FillRoles(rolls);
         scoreDisplay.FillFrames(ScoreMaster.ScoreCumulative(rolls));
     } catch {
         Debug.LogWarning("FillRollCard failed");
     }
 }