C# Class Tennis.TournamentAustralianOpen

Inheritance: ITournamentRules
Show file Open project: rasmuskl/ReSharperCourse

Public Methods

Method Description
GetDecidingSetState ( TennisSet set ) : ISetState
GetInitialMatchState ( TennisMatch match ) : IMatchState
GetStandardGameState ( TennisGame game ) : IGameState
GetStandardSetState ( TennisSet set ) : ISetState
StartNewMatch ( ) : TennisMatch

Method Details

GetDecidingSetState() public method

public GetDecidingSetState ( TennisSet set ) : ISetState
set TennisSet
return ISetState

GetInitialMatchState() public method

public GetInitialMatchState ( TennisMatch match ) : IMatchState
match TennisMatch
return IMatchState

GetStandardGameState() public method

public GetStandardGameState ( TennisGame game ) : IGameState
game TennisGame
return IGameState

GetStandardSetState() public method

public GetStandardSetState ( TennisSet set ) : ISetState
set TennisSet
return ISetState

StartNewMatch() public method

public StartNewMatch ( ) : TennisMatch
return TennisMatch