public void keyPressed(int k) {
		if (k == KeyEvent.VK_A) {
			player.setLeft(true);
		}
		if (k == KeyEvent.VK_D)
			player.setRight(true);
		if (k == KeyEvent.VK_UP)
			player.setUp(true);
		if (k == KeyEvent.VK_DOWN)
			player.setDown(true);
		if (k == KeyEvent.VK_SPACE)
			player.setJumping(true);
		if (k == KeyEvent.VK_W)
			player.setGliding(true);
		if (k == KeyEvent.VK_E)
			player.setScratching();
		if (k == KeyEvent.VK_R)
			player.setFiring();
	}