danpost wrote...
Are you using the Animal class also? If so, have them extend that class.
When you moved the at world edge removal code from the 'tryToEat' method, you lost half the code to it. You no longer have an 'if' block or a 'getWorld().removeObject(this)' line anywhere.

