public void move(boolean flagLeft, boolean flagRight){
		
		if(flagLeft && !flagRight){
			posX -= speed;
		}
		if(flagRight && !flagLeft){
			posX += speed;
		}
		if(flagLeft && flagRight){
			System.out.println("Whoa there!");
		}
		
	}