public void keyPressed(KeyEvent e){
		//JOptionPane.showMessageDialog(null,e.getKeyCode());
		int key = e.getKeyCode();
		
		if(key == KeyEvent.VK_LEFT)dx--;
		if(key == KeyEvent.VK_RIGHT)dx++;
		if(key == KeyEvent.VK_UP)dy--;
		if(key == KeyEvent.VK_DOWN)dy++;
		if (key == KeyEvent.VK_SPACE) fire();
	}