• Post Reply Bookmark Topic Watch Topic
  • New Topic

GUI Restart Button Help

 
Alexander Vinogradov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guy would really appreciate it if somebody could tell me how to make this restart button work. This is what I have so far. I have put the restart button code in red and bold...

 
Ewald Za Horn
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure about the order of lines 39 and 40? You start the world and then create a new one?

world.start();
world = new GameWorld();

Shouldn't this be the other way around?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!