noise
Procs | |
get_neighbors | Gets the neighbors of the cell at x, y, optionally including diagonals. (x,y) and its neighbors can safely be invalid/not validated before calling. |
---|---|
has_neighbor_with_path | Checks if the cell at x,y has a neighbor with the given path. Faster than looping over get_neighbors for the same purpose because it doesn't use list ops. |
Proc Details
get_neighbors
Gets the neighbors of the cell at x, y, optionally including diagonals. (x,y) and its neighbors can safely be invalid/not validated before calling.
has_neighbor_with_path
Checks if the cell at x,y has a neighbor with the given path. Faster than looping over get_neighbors for the same purpose because it doesn't use list ops.