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