Report as inappropriate.
In this example, an entire GameWorld (here just a bee, but could be a whole complex world) is "paused" while control is passed to a PauseWorld. PauseWorld can call methods on GameWorld. GameWorld persists, but does not continue to act, until pause world passes control back.
Press space to pause, and press up arrow to call the flipBee function while paused.
Want to leave a comment? You must first log in.