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


1 2 3 4 | if (isAtEdge()) { getWorld().removeObject( this ); } |
1 | removeTouching(Food. class ); |
1 | removeTouching(Food. class ); |
1 2 3 4 | if (isAtEdge()) { getWorld().removeObject( this ); } |