MazeGenerator.Utils (maze_generator v0.1.0) View Source
Provides some utility functions for mazes and grids.
Link to this section Summary
Functions
Returns a map of neighboring cells of the cell and grid passed with the coordinates as the key and the cell as the value.
Link to this section Functions
Specs
neighbors(MazeGenerator.Grid.t(), {pos_integer(), pos_integer()}) :: [ {pos_integer(), pos_integer()} ]
Returns a map of neighboring cells of the cell and grid passed with the coordinates as the key and the cell as the value.