C# 클래스 TennisKata.Defactored2.TennisGame

파일 보기 프로젝트 열기: shadowman/tenniskata-kake-dojo 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
P1point int
P1res string
P2point int
P2res string

공개 메소드들

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

메소드 상세

GetScore() 공개 메소드

public GetScore ( ) : string
리턴 string

P1Score() 공개 메소드

public P1Score ( ) : void
리턴 void

P2Score() 공개 메소드

public P2Score ( ) : void
리턴 void

SetP1Score() 공개 메소드

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

SetP2Score() 공개 메소드

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

TennisGame() 공개 메소드

public TennisGame ( string player1Name, string player2Name )
player1Name string
player2Name string

WonPoint() 공개 메소드

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

프로퍼티 상세

P1point 공개적으로 프로퍼티

public int P1point
리턴 int

P1res 공개적으로 프로퍼티

public string P1res
리턴 string

P2point 공개적으로 프로퍼티

public int P2point
리턴 int

P2res 공개적으로 프로퍼티

public string P2res
리턴 string