What am I doing wrong.
if (this.isAtEdge()) {
removeTouching(Ball.class);
}
if (isAtEdge())
{
getWorld().removeObject(this);
}removeTouching(Food.class);
removeTouching(Food.class);
if (isAtEdge())
{
getWorld().removeObject(this);
}