I'm trying to remove an object within an Actor Class. Can someone help me figure out what I am doing wrong with the code. Says that the getObjects method is not known.
1 2 3 | World world; world = getWorld(); world.removeObjects(getObjects(Horse1. class )); |