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