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

2014/2/24

Switching Worlds By Clicking

EIGNERT EIGNERT

2014/2/24

#
I need help with how to switch between words by clicking. For example, if I had two worlds - 'x' and 'y' - and when I clicked on something within 'x' it would switch to 'y'. Thanks
danpost danpost

2014/2/24

#
Use the Greenfoot class method mouseClicked for the boolean condition and the Greenfoot method setWorld for the action to take if the condition is true.
EIGNERT EIGNERT

2014/2/24

#
Thanks danpost
You need to login to post a reply.