@Override
	public void keyPressed(KeyEvent e) {
		int c = e.getKeyCode();
		if (c == KeyEvent.VK_RIGHT) {
			Gun.aimRight();
			// repaint();
		}  else if (c == KeyEvent.VK_BACK_SPACE ){
			//select guntype 
			//cycle through a gunList
			if(Gun.gunRoll == 4)Gun.gunRoll = 1;
			else Gun.gunRoll++;
		} else if (c == KeyEvent.VK_LEFT) {
			Gun.aimLeft();
		} else if (c == KeyEvent.VK_SPACE) {
			Gun.shoot();			
		} else if (c == KeyEvent.VK_R && 
				(Gun.x_gunpos >190) &&(Gun.x_gunpos < 210)
				) {
			Gun.reload();
			//TODO wait in another thread until resuming shooting/moving 
		}
			
	}