TimeKeeper

open class TimeKeeper

Class used to wrap timekeeping functionality. By default uses normal methods, but can be overridden to provide additional functionality.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Get the current time in milliseconds.
Link copied to clipboard
open fun timeTravel(addTime: Long)
Throws a RuntimeException by default.