private static World prepareWorld(int numEntities) {
World world = new World();
world.setSystem(new MovementSystem());
world.setSystem(new StateSystem());
world.setSystem(new CollisionSystem());
world.setSystem(new RemovalSystem());
world.initialize();
for (int i = 0; i < numEntities; ++i) {