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

2012/9/9

little crab

luna124 luna124

2012/9/9

#
Hi together, I need some help once again for my homework... Now I'm asked to find the method that ends the little-crab game when the crab is eaten.Our teacher told us to look for it in the Greenfoot API, class Greenfoot. I looked for it but didn't find it. Can someone tell me please which method to choose? Thanks, luna124
danpost danpost

2012/9/9

#
Look again, it is there (look over the brief descriptions and select the best suited).
luna124 luna124

2012/9/9

#
Sorry, maybe I'm blind or even stupid ;-) but I don't know what you mean with brief descriptions. Do you mean "Constructor's detail"?
SPower SPower

2012/9/9

#
No, he means that you read the doc better. After you've found a method which could be it, click on it: you'll see more detail.
luna124 luna124

2012/9/9

#
Ok, I think I have to take stop. But where does it belong in the code? In an actor class?
SPower SPower

2012/9/9

#
In the method where you want to stop the game.
luna124 luna124

2012/9/9

#
Thank you. It took some time until I got it, but now it works :-D
You need to login to post a reply.