how can i remove all existing objects in the world?


1 | import java.util.List; |
1 2 | List objects = getObjects( null ); removeObjects(objects); |
1 | if (objects != null ) { removeObjects(objects); } |
1 | if (objects.size > 0 ) { removeObjects(objects); } |
1 2 3 4 5 | import java.util.List; ... List<Actor> actors = getObjects( null ); removeObjects(actors); |
1 | removeObjects(getObjects( null )); |