C# Class BowlingSecondPractice.Frame

Mostra file 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