Exemplo n.º 1
0
 public IMatchState GetInitialMatchState(TennisMatch match)
 {
     return(new MatchStateFiveSet(match));
 }
Exemplo n.º 2
0
 protected MatchStateBase(TennisMatch match)
 {
     Match = match;
 }
Exemplo n.º 3
0
 public MatchStateWon(TennisMatch match, Party winningParty)
     : base(match)
 {
     _winningParty = winningParty;
 }
Exemplo n.º 4
0
 public MatchStateFiveSet(TennisMatch match)
     : base(match)
 {
 }