public SimulatedWorld(WorldFactory factory) {
// Welt erzeugen
this.world = factory.getWorld();
// Kollisionen überwachen
this.world.addListener(new CollisionListener() {
@Override
public void collisionOccured(CollisionEvent event) {
entityForBody(event.getBodyA()).collisionOccured(event, event.getBodyB());
entityForBody(event.getBodyB()).collisionOccured(event, event.getBodyA());
}