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

2013/3/10

what's save the world?

Velociraptor06 Velociraptor06

2013/3/10

#
Hi all, can someone please kindly explain to me what "save the world" means and does? Thx
Gevater_Tod4711 Gevater_Tod4711

2013/3/10

#
Save the world is a funktion of Greenfoot to save every actor that is in the world at the moment. All actors and there current location will be writen down in a method in the world subclass that is written by Greenfoot itselves. So you don't have to write anything and Greenfoot will do all the work for you. And then if you compile your scenario and create a new world the next time the actory you have saven will be at the position you saved them.
You need to login to post a reply.