I noticed in the API that Greenfoot has a start() method which will "Run (or resume) the execution." I was wondering how to use that in my code considering the method stop() stops all acts. This is how I wanted to use it:
A pause function. When the user presses "p," stop() is called. Then when the press "p" again, start() is called. But the program isn't running, so it can't call a method. So how do I do this?