this.inputSystem = newInputSystem;
this.timeProvider = newTimeProvider;
this.exit = false;
this.resolutionChanged = false;
this.currentLoaded = null;
this.mouseInputEventProcessor = new MouseInputEventProcessor();
this.lastTime = timeProvider.getMsTime();
this.niftyMouse = new NiftyMouseImpl(newRenderDevice.getRenderDevice(), inputSystem, timeProvider);
try {
loader = new NiftyLoader(timeProvider);