Hi. Can anyone please explain how to make a variable 'visible' by all classes? If for instance I declare "xcoords" in a world class how would I then use the value in that variable in an actor class?
Thanks!
You might be interested in going a step further in making your external references less cumbersome to access. You can read my questions and davmac's answers on the subject here:
http://www.greenfoot.org/topics/311