Свойство | Type | Description | |
---|---|---|---|
POINTS | string[] |
Méthode | Description | |
---|---|---|
GetScore ( ) : string | ||
SomeoneHasWon ( ) : bool | ||
TennisGame ( string player1Name, string player2Name ) | ||
WinningPlayerName ( ) : string | ||
WonPoint ( string playerName ) : void |
Méthode | Description | |
---|---|---|
IsEndgame ( ) : bool | ||
PointsAreEven ( ) : bool |
public TennisGame ( string player1Name, string player2Name ) | ||
player1Name | string | |
player2Name | string |
public WonPoint ( string playerName ) : void | ||
playerName | string | |
Résultat | void |