public void clear() {
        GameActor[] toClear = actors.values().toArray(new GameActor[actors.size()]);
        
        for(GameActor a : toClear) {
            Application.get().getEventManager().queueEvent(new ActorDestroyedEvent(a));
        }
    }