Pathfinding v0.1.0 Pathfinding.Grid View Source

Grid definition to be traversed

Link to this section Summary

Link to this section Functions

Link to this function

add_coord(grid, key, coords, x, y, value \\ true) View Source

Link to this function

add_extra_cost(grid, x, y, cost) View Source

Link to this function

add_unstoppable_coord(grid, x, y) View Source

Link to this function

add_unwalkable_coord(grid, x, y) View Source

Link to this function

clear_unstoppable_coords(grid) View Source

Link to this function

clear_unwalkable_coords(grid) View Source

Link to this function

get_coord_cost(grid, x, y) View Source

Link to this function

get_extra_cost(grid, x, y) View Source

Link to this function

is_coord_stoppable?(grid, x, y) View Source

Link to this function

is_coord_walkable?(grid, x, y) View Source

Link to this function

remove_coord(grid, key, coords, x, y) View Source

Link to this function

remove_extra_cost(grid, x, y) View Source

Link to this function

remove_unstoppable_coord(grid, x, y) View Source

Link to this function

remove_unwalkable_coord(grid, x, y) View Source

Link to this function

set_tile_cost(grid, tile, cost) View Source

Link to this function

to_coord_map(coords, map \\ %{}, value \\ true) View Source