public void keyPressed(KeyEvent e){
			if(e.getKeyCode() == KeyEvent.VK_LEFT){
				player.setDirection(Moveable.LEFT);
				key[0] = true;
			}
			else if(e.getKeyCode() == KeyEvent.VK_RIGHT){
				player.setDirection(Moveable.RIGHT);
				key[1] = true;
			}
			else if(e.getKeyCode() == KeyEvent.VK_UP){
				player.setDirection(Moveable.UP);
				key[2] = true;
			}
			else if(e.getKeyCode() == KeyEvent.VK_DOWN){
				player.setDirection(Moveable.DOWN);
				key[3] = true;
			}
		}