@Override
	public void run() {
		super.run();
		while (health > 0) {
			long time = System.currentTimeMillis();

			update();
			
			time = (1000 / start.FPS) - (System.currentTimeMillis() - time);

			if (time > 0) {
				try {
					Thread.sleep(time);
				} catch (Exception e) {
				}
			}
		}
		endGame(false);
	}