SeaCostOptions

A value shape that methods take or return.

Methods
None
Fields
5

Fields

FieldTypeDescription
fromDocknumber?Start at this dock's berth (Dock.id, 0 to 60). nil: from, else where the boat is (aboard, or its dock).
fromWorldPoint?Start on this sea tile; not with fromDock.
boatnumber?The boat: a slot, 1 to 5. nil: the boat aboard, else the lowest-slot boat moored at a dock.
withinnumber?How many tiles from each of the tiles asked for the boat may stop (Chebyshev): a whole number 0 to 64. nil for 2.
maxCostnumber?Stop the flood past this route cost (PathQuery:cost()'s units): a target further is "CUTOFF_REACHED". nil: no bound.