tick Until
Ticks with stopAt until it returns true. The elapsed ticks (starting from 1) will be passed to stopAt.
Resumes on Render thread.
Example:
tickUntil { true }-->1tickUntil { it >= 2 }-->2
Return
the times of stopAt to be executed (equals to elapsed ticks)
Parameters
stop At
the callback of elapsed ticks. Will be called on game tick.