C# Class Tennis.TennisGame1

Inheritance: ITennisGame
Mostra file Open project: emilybache/Tennis-Refactoring-Kata Class Usage Examples

Public Methods

Method Description
GetScore ( ) : string
TennisGame1 ( string player1Name, string player2Name )
WonPoint ( string playerName ) : void

Method Details

GetScore() public method

public GetScore ( ) : string
return string

TennisGame1() public method

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

WonPoint() public method

public WonPoint ( string playerName ) : void
playerName string
return void