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

2014/6/15

Problem with resetting world

CooliMC CooliMC

2014/6/15

#
I have a logout button in my Programm so when i pressed it the methode Greenfoot.setWorld(new Background()) is called and before i removed all objects but when i press run again the old screen of the programm before i loged out appears with all set variables and strings like i did nothing .... how can complete reset the world , the only methode to get an new world is to compile it again but i want to reset it with a methode ?? i hope you could understand what i want to do :D
You need to login to post a reply.