public void movePlayer(){
		int direction = 0;
		if(left &&right){
			direction=0;
		}                 
		else{
			direction = mover.movePlayer(player, imageList, left, right, getBounds().width);
		}
		if (direction ==0 ){
			playerMovePosX = false;
			playerMoveNegX = false;
		}
		if (direction <0){
			playerMoveNegX = true;
			playerMovePosX = false;
		}
		if (direction >0){
			playerMoveNegX = false;
			playerMovePosX = true;
		}
	}