public CheckDetectionService( IPlayerStateService playerStateService, IBoardMoveService <ChessPieceEntity> moveService, IFindAttackPaths findAttackPaths, IPathsValidator <ChessPieceEntity> pathsValidator ) { _moveService = moveService; _playerStateService = playerStateService; _pathFinder = findAttackPaths; _pathsValidator = pathsValidator; }
public PlayerStateService(IFindAttackPaths findAttackPaths, IPathsValidator <ChessPieceEntity> pathsValidator) { _pathFinder = findAttackPaths; _pathsValidator = pathsValidator; }