how can i remove all existing objects in the world?
import java.util.List;
List objects = getObjects(null); removeObjects(objects);
if (objects != null) { removeObjects(objects); }if (objects.size > 0) { removeObjects(objects); }import java.util.List; ... List<Actor> actors = getObjects(null); removeObjects(actors);
removeObjects(getObjects(null));