Source:
<code>public void init(GameEngine gameEngine) { entityManager = new EntitySystemBuilder().build(CoreRegistry.get(ModuleManager.class), CoreRegistry.get(NetworkSystem.class), CoreRegistry.get(ReflectFactory.class), CoreRegistry.get(CopyStrategyLibrary.class)); eventSystem = CoreRegistry.get(EventSystem.class); CoreRegistry.put(Console.class, new ConsoleImpl()); nuiManager = CoreRegistry.get(NUIManager.class); ((NUIManagerInternal) nuiManager).refreshWidgetsLibrary(); eventSystem.registerEventHandler(nuiManager); <START> CameraTargetSystem cameraTargetSystem = new CameraTargetSystem(); <END> CoreRegistry.put(CameraTargetSystem.class, cameraTargetSystem); componentSystemManager = CoreRegistry.get(ComponentSystemManager.class); componentSystemManager.register(cameraTargetSystem, "engine:CameraTargetSystem"); componentSystemManager.register(new ConsoleSystem(), "engine:ConsoleSystem"); componentSystemManager.register(new CoreCommands(), "engine:CoreCommands"); inputSystem = CoreRegistry.get(InputSystem.class); new RegisterInputSystem().step(); EntityRef localPlayerEntity = entityManager.create(new ClientComponent()); LocalPlayer localPlayer = CoreRegistry.put(LocalPlayer.class, new LocalPlayer()); localPlayer.setClientEntity(localPlayerEntity); componentSystemManager.initialise(); playBackgroundMusic(); CoreRegistry.get(NUIManager.class).pushScreen("engine:mainMenuScreen"); if (!messageOnLoad.isEmpty()) { nuiManager.pushScreen("engine:errorMessagePopup", ErrorMessagePopup.class).setError("Error", messageOnLoad); } }</code><technical_language>CameraTargetSystem is InputSystem in events input events</technical_language>

Target:
public void init(GameEngine gameEngine) { entityManager = new EntitySystemBuilder().build(CoreRegistry.get(ModuleManager.class), CoreRegistry.get(NetworkSystem.class), CoreRegistry.get(ReflectFactory.class), CoreRegistry.get(CopyStrategyLibrary.class)); eventSystem = CoreRegistry.get(EventSystem.class); CoreRegistry.put(Console.class, new ConsoleImpl()); nuiManager = CoreRegistry.get(NUIManager.class); ((NUIManagerInternal) nuiManager).refreshWidgetsLibrary(); eventSystem.registerEventHandler(nuiManager); componentSystemManager = new ComponentSystemManager(); CoreRegistry.put(ComponentSystemManager.class, componentSystemManager); CameraTargetSystem cameraTargetSystem = new CameraTargetSystem(); CoreRegistry.put(CameraTargetSystem.class, cameraTargetSystem); componentSystemManager.register(cameraTargetSystem, "engine:CameraTargetSystem"); componentSystemManager.register(new ConsoleSystem(), "engine:ConsoleSystem"); componentSystemManager.register(new CoreCommands(), "engine:CoreCommands"); inputSystem = CoreRegistry.get(InputSystem.class); new RegisterInputSystem().step(); EntityRef localPlayerEntity = entityManager.create(new ClientComponent()); LocalPlayer localPlayer = CoreRegistry.put(LocalPlayer.class, new LocalPlayer()); localPlayer.setClientEntity(localPlayerEntity); componentSystemManager.initialise(); playBackgroundMusic(); CoreRegistry.get(NUIManager.class).pushScreen("engine:mainMenuScreen"); if (!messageOnLoad.isEmpty()) { nuiManager.pushScreen("engine:errorMessagePopup", ErrorMessagePopup.class).setError("Error", messageOnLoad); } }