public PlayerTurnEndsGame(IBoard board, IPlayer activePlayer, IPlayer inactivePlayer, IPlayerEndsGameAction playerActionCommand)
 {
     _board               = board;
     _activePlayer        = activePlayer;
     _inactivePlayer      = inactivePlayer;
     _playerActionCommand = playerActionCommand;
 }
Example #2
0
 public GameOverGuardPlayerEndsGameAction(IPlayerEndsGameAction nextAction) => _nextAction = nextAction;
Example #3
0
 public PrintBoardPlayerEndsGameAction(IPlayerEndsGameAction nextAction) => _nextAction = nextAction;
 public PlayerEndsGameAction(IPlayerEndsGameAction nextaction) => _nextAction = nextaction;
 public TakeTurnPlayerEndsGameAction(IPlayerEndsGameAction nextAction) => _nextAction = nextAction;
Example #6
0
 public PrintWinPlayerEndsGameAction(IPlayerEndsGameAction nextAction) => _nextAction = nextAction;
Example #7
0
 public NoWinGuardPlayerEndsGameAction(IPlayerEndsGameAction nextAction) => _nextAction = nextAction;