public void keyPressed(KeyEvent e) {
		int key = e.getKeyCode();
		if(key == KeyEvent.VK_W){
			map.player.posY--;
		}
		if(key == KeyEvent.VK_S){
			map.player.posY++;
		}
		if(key == KeyEvent.VK_A){
			map.player.posX--;
		}
		if(key == KeyEvent.VK_D){
			map.player.posX++;
		}
	}