if ([V.KING,V.ANTIKING].includes(this.getPiece(x,y)))
return false; //(anti)king is not attacked by antiking
return this.isAttackedBySlideNJump([x,y], colors, V.ANTIKING,
V.steps[V.ROOK].concat(V.steps[V.BISHOP]), "oneStep");
}
if ([V.KING,V.ANTIKING].includes(this.getPiece(x,y)))
return false; //(anti)king is not attacked by antiking
return this.isAttackedBySlideNJump([x,y], colors, V.ANTIKING,
V.steps[V.ROOK].concat(V.steps[V.BISHOP]), "oneStep");
}