excludeMove method

bool excludeMove(
  1. int from,
  2. int to,
  3. int dirMult,
  4. BoardSize size,
)

Used to rapidly exclude moves in cases where we're looking for attacks.

Implementation

bool excludeMove(int from, int to, int dirMult, BoardSize size) => false;