public WaitingForPlayerMoveState(IPhutballBoard phutballBoard, MovesHistory movesHistory, IPlayersState playersState) { _phutballBoard = phutballBoard; _movesHistory = movesHistory; _playersState = playersState; _performMoves = new PerformMoves(phutballBoard, playersState); }
public BestMoveApplier(IMoveFinders moveFinders, MovesHistory movesHistory, IFieldsGraph fieldsGraph, IPerformMoves performMoves, IEventPublisher eventPublisher) { _moveFinders = moveFinders; _eventPublisher = eventPublisher; _performMoves = performMoves; _movesHistory = movesHistory; _fieldsGraph = fieldsGraph; }
public PlayerSelectedFieldStateMove( IPhutballBoard phutballBoard, IPlayersState playersState, Field selectedField, MovesHistory movesHistory) { _phutballBoard = phutballBoard; _movesHistory = movesHistory; _playersState = playersState; _performMoves = new PerformMoves(phutballBoard, _playersState); _selectedField = selectedField; }
public MovesHistoryPresenter(MovesHistory movesHistory, IEventPublisher eventPublisher) { _movesHistory = movesHistory; _eventPublisher = eventPublisher; _eventPublisher.Subscribe<MovesHistoryChanged>(OnMovesHistoryChanged); }