ReachedTile
A value shape that methods take or return.
Fields
| Field | Type | Description |
|---|---|---|
tile | WorldPoint | The tile. |
cost | number | Steps from the flood's source. |
cameFrom | WorldPoint? | The tile stepped from to get here; absent at the source. |
Returned by
| Method | Returns | Description |
|---|---|---|
Reachability.reachabilityMap | { ReachedTile } | The whole flood: every reached tile, its step cost, and the tile it was stepped from. |