return "Setting up Input Systems...";
}
@Override
public boolean step() {
ComponentSystemManager componentSystemManager = CoreRegistry.get(ComponentSystemManager.class);
ModuleManager moduleManager = CoreRegistry.get(ModuleManager.class);
LocalPlayerSystem localPlayerSystem = new LocalPlayerSystem();
componentSystemManager.register(localPlayerSystem, "engine:localPlayerSystem");
CoreRegistry.put(LocalPlayerSystem.class, localPlayerSystem);
CameraTargetSystem cameraTargetSystem = new CameraTargetSystem();
CoreRegistry.put(CameraTargetSystem.class, cameraTargetSystem);
componentSystemManager.register(cameraTargetSystem, "engine:CameraTargetSystem");
BindsConfig bindsConfig = CoreRegistry.get(Config.class).getInput().getBinds();
InputSystem inputSystem = CoreRegistry.get(InputSystem.class);
componentSystemManager.register(inputSystem, "engine:InputSystem");
bindsConfig.applyBinds(inputSystem, moduleManager);
return true;
}