OptionallandCost of a step onto a land cell, given the destination and the origin.
Return Infinity for impassable. Default 1 everywhere — the place for
terrain, slope, road, and river-ford rules.
OptionalnavalCost of a step onto a liquid cell. Default 1. Shallow/deep, current, and ice rules go here.
OptionalembarkAdded to a step that changes domain — land to liquid or back. Default 1.
Amphibious units only; ships pay navalCost to dock.
OptionalembarkWhere an amphibious unit may cross the shoreline: any shore ('shore',
the default) or only through a port cell ('ports').
OptionaldockWhether ships may enter port cells. Default true.
Which terrains float a ship.
HexWorld.isWateror abuildWaterTerrainSetlookup.