public override bool validMove(ChessBoard board, Coords start, Coords end) { return(StraightLines(board, start, end) || DiagonalMoves(board, start, end)); }
public virtual bool validMove(ChessBoard board, Coords start, Coords end) { return(false); }
public override bool validMove(ChessBoard board, Coords start, Coords end) { return(KingMoves(board, start, end)); }