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

2020/3/16

resetting a game

bangtan bangtan

2020/3/16

#
what code should I use if the retry actor was clicked and then it will reset the world
danpost danpost

2020/3/16

#
bangtan wrote...
what code should I use if the retry actor was clicked and then it will reset the world
if (Greenfoot.mouseClicked(this)) Greenfoot.setWorld(new MyWorld());
???
You need to login to post a reply.