AssetManager assetManager = CoreRegistry.putPermanently(AssetManager.class, new AssetManager(moduleManager.getEnvironment()));
assetManager.setEnvironment(moduleManager.getEnvironment());
CoreRegistry.putPermanently(CollisionGroupManager.class, new CollisionGroupManager());
CoreRegistry.putPermanently(WorldGeneratorManager.class, new WorldGeneratorManager());
CoreRegistry.putPermanently(ComponentSystemManager.class, new ComponentSystemManager());
CoreRegistry.putPermanently(NetworkSystem.class, new NetworkSystemImpl(time));
CoreRegistry.putPermanently(Game.class, new Game(this, time));
assetManager.setEnvironment(moduleManager.getEnvironment());
AssetType.registerAssetTypes(assetManager);
ApplyModulesUtil.applyModules();