public void setMovingRight(boolean isMovingRight) {
		this.isMovingRight = isMovingRight;
		this.isMovingLeft = isMovingRight ? !isMovingRight : this.isMovingLeft;
		this.xSpeed = !isMovingRight ? 0 : this.xSpeed;
	}