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