private void movePlayer(){
		if(!inside){
			checkCollisionsOut();
		}else{
			checkCollisionIn();
		}
		playerRect.x += xDirection;
		playerRect.y += yDirection;
		playerLeft.x += xDirection;
		playerLeft.y += yDirection;
		playerRight.x += xDirection;
		playerRight.y += yDirection;
		playerTop.x += xDirection;
		playerTop.y += yDirection;
		playerFeet.x += xDirection;
		playerFeet.y += yDirection;
		if(xDirection != 0 || yDirection != 0){
			moving = true;
		}else if(xDirection == 0 && yDirection == 0){
			moving = false;
		}
		justChanged = false;
	}