I want my blaster bullets to be removed from the world once it is at the world egde but it stops the game when it is removed. How can I make it be removed without stopping the game?
I used this code
public void ifAtWorldEdge() { if (atWorldEdge()) { getWorld().removeObject(this); } }