getDiagonalNeighbours

Retrieves the diagonal neighbors of the given tile.

The diagonal neighbors are the tiles located at the top-left, top-right, bottom-left, and bottom-right relative to the given tile, if they exist within the grid boundaries and are not deleted.

Return

A list of diagonal neighbors of the given tile, or an empty list if no neighbors exist.

Parameters

t

The tile for which to retrieve the diagonal neighbors.