C# Class fitnesse.slim.test.Bowling.Game

Afficher le fichier Open project: jediwhale/fitsharp

Méthodes publiques

Méthode Description
roll ( int pins ) : void
score ( int frame ) : int

Private Methods

Méthode Description
isSpare ( int firstBall ) : bool
isStrike ( int firstBall ) : bool
nextBallForSpare ( int firstBall ) : int
nextTwoBallsForStrike ( int firstBall ) : int
twoBallsInFrame ( int firstBall ) : int

Method Details

roll() public méthode

public roll ( int pins ) : void
pins int
Résultat void

score() public méthode

public score ( int frame ) : int
frame int
Résultat int