BowlingSecondPractice.Frame.SecondToNextBall C# (CSharp) 메소드

SecondToNextBall() 개인적인 메소드

private SecondToNextBall ( ) : int
리턴 int
        private int SecondToNextBall()
        {
            var nextIsNotLast = NextFrame.NextFrame != null;
            if (NextFrame.IsStrike() && nextIsNotLast)
            {
                return NextFrame.NextFrame.FirstBall;
            }
            return NextFrame.SecondBall;
        }