internal void SetSecondBowlForFrame(Frame frame, int kickedPins) { _validator.ValidateFrameIsNotNull(frame); if (_validator.IsSecondBowlScoreNotRecordedFor(frame)) { frame.SetSecondBowlScore(kickedPins); } }
internal void SetDifferentPropertiesForFrame(Frame frame, int kickedPins) { _validator.ValidateFrameIsNotNull(frame); if (_validator.IsSecondBowlScoreNotRecordedFor(frame)) { _frameHandler.SetSecondBowlForFrame(frame, kickedPins); } else if (_validator.IsThirdBowlScoreNotRecordedFor(frame)) { FinishFrame(frame, kickedPins); } }