@Override
	public void keyPressed(KeyEvent e) {
		//MOVEMENT KEYS
		if (e.getKeyCode() == KeyEvent.VK_W){
			if (player.jumpCount < player.jumpMax) {
				player.gravity = 20;
				player.setY(player.getY() - 10);
				player.jumpCount++;
			}
		}
		if (e.getKeyCode() == KeyEvent.VK_A){
			left = true;
		}
		if (e.getKeyCode() == KeyEvent.VK_S){
			//			down = true;
		}
		if (e.getKeyCode() == KeyEvent.VK_D){
			right = true;
		}

		//SHOOT KEYS
		if (e.getKeyCode() == KeyEvent.VK_LEFT) {
			leftShoot = true ;
		}
		if (e.getKeyCode() == KeyEvent.VK_RIGHT) {
			rightShoot = true ;
		}
		if (e.getKeyCode() == KeyEvent.VK_UP) {
			upShoot = true ;
		}
		if (e.getKeyCode() == KeyEvent.VK_DOWN) {
			downShoot = true ;

		}
	}