private void switchState(State newState) {
		if (this.currentState != null) {
			this.currentState.exit();
		}

		this.currentState = newState;
		if (this.currentState != null) {
			this.currentState.enter();
		}
	}