OrderCreatorIfc

fun interface OrderCreatorIfc(source)

Strategy for creating orders from scratch. Used by OrderGenerator at each event firing. Implementations decide what item types and quantities go on the order.

See sc.inventorylayer.OrderCreatorIfc

Inheritors

Functions

Link copied to clipboard

Creates and returns a new order, or null if no order should be created at this call (e.g., probabilistic skipping).

Link copied to clipboard
open fun createsType(type: ItemType): Boolean

True if createOrder may produce an order containing type.