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

2013/6/25

Stopping The Game

eddietheboss27 eddietheboss27

2013/6/25

#
Yo my code at the moment is if (canSee(Worn.class)) { eat(Worm.class); Greenfoot.stop(); } But It stops after 1 worm how do i make so it stops after, say, 5 worms
rhyslacy123 rhyslacy123

2013/6/25

#
i dunno if this will work but why dont you tryif (canSee(Worn.class)) { eat(Worm.class); Greenfoot.stop(5); }
eddietheboss27 eddietheboss27

2013/6/25

#
thanks
eddietheboss27 eddietheboss27

2013/6/25

#
dosent work
You need to login to post a reply.