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