Hi,
Is there a way to return an object back to the world after it has been removed? What is the code for this and do I insert the code into the World class or Actor class?


1 2 3 | Actor actor = ... ; // whatever you need to find the actor getWorld().removeObject(actor); // remove actor getWorld().addObject(actor, x, y); // add it back in (you must supply x and y). |