Exemplo n.º 1
0
 public TieEndsGame(IBoard board, ITieEndsGameAction command)
 {
     _board   = board;
     _command = command;
 }
Exemplo n.º 2
0
 public PrintTieEndsGameAction(ITieEndsGameAction nextAction) : this(nextAction, new CatsGamePrinter())
 {
 }
Exemplo n.º 3
0
 public PrintTieEndsGameAction(ITieEndsGameAction nextAction, IPrinter printer)
 {
     _nextAction = nextAction;
     _printer    = printer;
 }
Exemplo n.º 4
0
 public TieEndsGameAction(ITieEndsGameAction nextAction) => _nextAction = nextAction;