Legend
| Static method: IEnumerable<int> KnightsMoves( |
int | cell | The cell from which to generate knight’s moves. |
int | gridWidth | Width of the grid. |
int | gridHeight | Height of the grid. |
bool | toroidal |
If true , the grid is considered to be toroidal, i.e., the knight’s move can leave the grid and reenter
on the opposite edge. |