Window::step()
While the game is paused: runs it for exactly one frame (every
run() once) and pauses again. Useful to watch closely what
happens, for example when two sprites touch.
Examples
Syntax
Java
.step()
Return
void
While the game is paused: runs it for exactly one frame (every
run() once) and pauses again. Useful to watch closely what
happens, for example when two sprites touch.
.step()
void