public MoveManager(IBoard board) { _board = board; _canUndo = false; _previous = board.Copy(); _moveValidator = new OrdinaryBoardMoveValidator(_board); _verifier = new OrdinaryBoardCheckVerifier(_board, _moveValidator); }
public ValidMoveResult( IBoard board, ICheckVerifier verifier, IMoveValidator moveValidator, LastMoveViewModel lastMove, IEnumerable <Figure> allSmashedFigures) { _board = board; _verifier = verifier; _moveValidator = moveValidator; _lastMove = lastMove; _allSmashedFigures = allSmashedFigures; }