C# Class Tennis.TennisGame1

Inheritance: ITennisGame
Afficher le fichier Open project: emilybache/Tennis-Refactoring-Kata Class Usage Examples

Méthodes publiques

Méthode Description
GetScore ( ) : string
TennisGame1 ( string player1Name, string player2Name )
WonPoint ( string playerName ) : void

Method Details

GetScore() public méthode

public GetScore ( ) : string
Résultat string

TennisGame1() public méthode

public TennisGame1 ( string player1Name, string player2Name )
player1Name string
player2Name string

WonPoint() public méthode

public WonPoint ( string playerName ) : void
playerName string
Résultat void