Greenfoot: The Actor Class

This contains a number of useful methods

getWorld(): returns the world that the actor lives in e.g. WombatWorld. The methods for World can be found here.

Home Page