C# Class BowlingSecondPractice.Frame

显示文件 Open project: cuipengfei/Spikes Class Usage Examples

Public Methods

Method Description
Frame ( int firstBall, int secondBall )

Protected Methods

Method Description
CalculateScore ( ) : int

Private Methods

Method Description
Bonus ( ) : int
IsSpare ( ) : bool
IsStrike ( ) : bool
NextBall ( ) : int
SecondToNextBall ( ) : int

Method Details

CalculateScore() protected method

protected CalculateScore ( ) : int
return int

Frame() public method

public Frame ( int firstBall, int secondBall )
firstBall int
secondBall int