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

vtn2@calvin.edu's Comments

Back to vtn2@calvin.edu's profile

How do I see the code for this? I am trying to make a library that will allow the user to call wait(n) where n is # of seconds (a float), so I would like to find some way to convert the "speed" of greenfoot into seconds and vice versa.
D'oh! I just found the Sequence class in the code you provided. Nevermind me...
I'm sorry for being so ignorant, but I don't see anything like this when I google for java sequence. Also, I thought a google for waitForNextSequence would turn up a hit, too, but it doesn't. Can you post a link to an API definition online? Thanks.
I don't understand this code. Where is the waitForNextSequence() implemented?