Skip to content

com.hypercubetools.timeslip / TimeSlip / tick

tick

@JvmOverloads fun tick(delta:Duration= ONE_SECOND):Unit

Move the clock forward in time.

Parameters

delta - the amount time to move forward. A negative duration will move the clock backwards. Defaults to 1 second.

Exceptions

IllegalStateException - sequence was used to create this instance.