ZoneControlRuleIfc

fun interface ZoneControlRuleIfc(source)

Decides when a transporter releases the zone behind it.

A rule is consulted once for each zone a transporter travels into, and it decides timing only: it must not claim, occupy, or release anything itself, and it must be a pure function of what it is given, or the release times stop being reproducible.

Inheritors

Functions

Link copied to clipboard
abstract fun releaseTiming(transporter: GuidedTransporter, enteringZone: Zone): ZoneReleaseTiming