This site requires JavaScript, please enable it in your browser!
Greenfoot back
worldmaker
worldmaker wrote ...

2015/5/14

Don't know how to use a method

worldmaker worldmaker

2015/5/14

#
On the Greenfoot API there is a method called wait(), but I don't know how to use it. I could use some help so if you would give me some helpful tips or how to make my own wait method I would be happy.
danpost danpost

2015/5/14

#
The 'wait' method is not something you should be using with greenfoot. Please explain what you had intended to do with it. Be specific. That is -- what all do you wish to put on hold (or to be waiting) and for what time-frame?
worldmaker worldmaker

2015/5/19

#
All I want is a thing that will stop that program for just a few seconds.
Super_Hippo Super_Hippo

2015/5/19

#
If you want to pause the whole scenario, you can use 'Greenfoot.delay(200);'. This will be like 3-4 seconds with the speed slider in the middle.
You need to login to post a reply.