Companion

object Companion

Functions

Link copied to clipboard
fun addTask(timer: Timer, action: () -> Unit)
fun addTask(timer: Timer, action: () -> Unit, exceptionHandler: (Throwable) -> Unit)
fun addTask(timer: Timer.Loop, shouldEnd: (Long, Long, Long) -> Boolean, action: () -> Unit)
fun addTask(interval: Long, times: Long, action: () -> Unit, exceptionHandler: (Throwable) -> Unit)
fun addTask(timer: Timer.Loop, shouldEnd: (Long, Long, Long) -> Boolean, action: () -> Unit, exceptionHandler: (Throwable) -> Unit)
Link copied to clipboard
Link copied to clipboard
fun start(threads: Threads)

Start the GameLoop.