// Lane performs next action based on list of bowls and // handles edge case actions private void NextAction() { // Get next action and set pins ActionMaster.Action nextAction = ActionMaster.NextAction(bowls); pinSetter.SetPins(nextAction); if (nextAction != ActionMaster.Action.Tidy) { lastSettledCount = 10; } if (nextAction == ActionMaster.Action.EndGame) { Invoke("LoadEndScreen", 5); } }