update

inline fun update(tick: Int, block: (Int) -> Unit)