@Override
		public void run() {
			while (isActive) {
				long startTime = System.currentTimeMillis();
				camera.move();
				stepSimulation();
				long stepDuration = System.currentTimeMillis() - startTime;
				if (stepDuration < DELAY) {
					try {
						Thread.sleep(DELAY - stepDuration);
					} catch (InterruptedException e) {
						e.printStackTrace();
					}
				}
			}
			destroyThread();
		}