Is there any way to check if a specific object is still in the world ?
public Actor findActor(Actor find)
{
ArrayList<Actor> actors= (ArrayList<Actor)/*World*/.getObjects(Actor.class);
for (Actor a : actors)
if(a.eqauls(find))
return a;
return null;
}
public boolean actorInWorld(Actor find)
{
return findActor(find) != null;
}if (find.getWorld() != null)