onTick

open fun onTick(task: Runnable): AutoCloseable

task every game tick while this listener is running.