Frees the underlying WASM multiroom distance map allocation.
Get the stored value for a given position.
Get the DistanceMap for a given room.
List all the rooms covered by this distance map.
Path to the origin from a given position.
Pass DirectionOrder.DiagonalFirst to prefer diagonal steps when multiple neighbors are equally close.
Portal-aware path to the origin from a given position.
Pass DirectionOrder.DiagonalFirst to prefer diagonal steps when multiple neighbors are equally close.
Set the stored value for a given position.
Flow field for this distance map.
Pass DirectionOrder.DiagonalFirst to prefer diagonal directions when multiple neighbors are equally close.
Portal-aware flow field for this distance map.
Pass DirectionOrder.DiagonalFirst to prefer diagonal directions when multiple neighbors are equally close.
Mono-directional flow field for this distance map.
Pass DirectionOrder.DiagonalFirst to prefer diagonal directions when multiple neighbors are equally close.
Portal-aware monodirectional flow field for this distance map.
Pass DirectionOrder.DiagonalFirst to prefer diagonal directions when multiple neighbors are equally close.
A distance map that covers multiple rooms. Typically returned by a function like
bfsMultiroomDistanceMaprather than created directly.