SeaCostOptions
A value shape that methods take or return.
Fields
| Field | Type | Description |
|---|---|---|
fromDock | number? | Start at this dock's berth (Dock.id, 0 to 60). nil: from, else where the boat is (aboard, or its dock). |
from | WorldPoint? | Start on this sea tile; not with fromDock. |
boat | number? | The boat: a slot, 1 to 5. nil: the boat aboard, else the lowest-slot boat moored at a dock. |
within | number? | How many tiles from each of the tiles asked for the boat may stop (Chebyshev): a whole number 0 to 64. nil for 2. |
maxCost | number? | Stop the flood past this route cost (PathQuery:cost()'s units): a target further is "CUTOFF_REACHED". nil: no bound. |