C# 클래스 Tennis.TennisGame2

상속: TennisGame
파일 보기 프로젝트 열기: emilybache/Tennis-Refactoring-Kata 1 사용 예제들

공개 메소드들

메소드 설명
GetScore ( ) : string
SetP1Score ( int number ) : void
SetP2Score ( int number ) : void
TennisGame2 ( string player1Name, string player2Name )
WonPoint ( string player ) : void

비공개 메소드들

메소드 설명
P1Score ( ) : void
P2Score ( ) : void

메소드 상세

GetScore() 공개 메소드

public GetScore ( ) : string
리턴 string

SetP1Score() 공개 메소드

public SetP1Score ( int number ) : void
number int
리턴 void

SetP2Score() 공개 메소드

public SetP2Score ( int number ) : void
number int
리턴 void

TennisGame2() 공개 메소드

public TennisGame2 ( string player1Name, string player2Name )
player1Name string
player2Name string

WonPoint() 공개 메소드

public WonPoint ( string player ) : void
player string
리턴 void