Usage
get_next_tiles(env, chr, pos, all = FALSE)
Arguments
- env
Environment with the current field, x.
- chr
Character with current position's element.
- pos
Data frame with current position (i, j).
- all
Boolean flag to indicate if all tiles (including visited)
should be returned.
Value
Data frame with next tile positions.