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

2012/10/30

a method to reset?

hamchi hamchi

2012/10/30

#
i need a method to reset the app, Greenfoot.stop doesnt do it for me.
Gevater_Tod4711 Gevater_Tod4711

2012/10/30

#
You need a method call that doe's the same than clicking the reset button? Well I think there is no such method in Greenfoot. The only thing you could do is to reset all variables yourself or remove all the objects and add a new starting screen.
hamchi hamchi

2012/10/30

#
correct. oh boy, i figured
davmac davmac

2012/10/30

#
Greenfoot.setWorld(new MyWorld());
(where MyWorld is the appropriate world name, of course).
You need to login to post a reply.