Hi!
Can somebody please explain this to me?
Under exercise 6.18 at the bottom of page 89, it says "...so it must be called on a World object."
On the next page it shows: "getWorld().getObjects(Body.class)" to be used to "get objects".
Why can´t dot notation work? Like in Greenfoot.playsound("3a.wav""); for example.
Can somebody please expand on this? What is the idea?
Thanks!
Karl

