I need to remove an image from the world
I have a class
Bungalow
Cat
Door
I tried
getWorld().removeObject(Bugalow.Cat);
I need to remove the Cat from the bungalow but the code must be in the door class


1 | getWorld().removeObjects(getWorld().getObjects(Cat. class )); |