public void infinite() {
		while (true) {
				try {
					synchronized(this) {
						while (this.pause == 1)
						wait();
					}
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			this.state.update();
		}
	}