C# Class TennisKataSoC.TennisGame

Afficher le fichier Open project: goeran/Katas Class Usage Examples

Méthodes publiques

Méthode Description
GetScore ( ) : String
Player1Scores ( ) : void
Player2Scores ( ) : void

Private Methods

Méthode Description
ConvertScoreToString ( int score ) : String
IsAdvantagePlayer1 ( ) : bool
IsAdvantagePlayer2 ( ) : bool
IsDeuce ( ) : bool
IsWinPlayer1 ( ) : bool
IsWinPlayer2 ( ) : bool

Method Details

GetScore() public méthode

public GetScore ( ) : String
Résultat String

Player1Scores() public méthode

public Player1Scores ( ) : void
Résultat void

Player2Scores() public méthode

public Player2Scores ( ) : void
Résultat void