

Report as inappropriate.
Here's a quick demo of the Wanderer helper class - actors that extend this class will be able to call setLocation even to go somewhere off screen. The co-ordinates are still stored, and when the actor enters the world again it will become visible.
UPDATE: As of Greenfoot 2.0 this helper class / scenario is redundant - there is a new constructor on World that states whether the world is bounded or unbounded, so this functionality is built in!
Want to leave a comment? You must first log in.
No votes yet.
2009/7/27
2009/8/8
2009/8/8
2009/8/9
2009/8/17
2009/8/18
2009/8/18
2010/1/23
2010/10/5
2010/10/6