ShiftControl

constructor(resource: Resource, onShiftCapacity: Int = resource.initialCapacity)(source)

Parameters

resource

the resource whose capacity is being driven

onShiftCapacity

what to restore. The resource's initial capacity by default, which is what a shift returning to normal means