public void hit(JGObject obj){
		if(obj instanceof Bullet){
			Bullet b = ((Bullet)obj);
			hurt(b.damage);
			b.remove();
			
			flash();
			
			// increase score if it was an enemy ship
			if(this.isDead() && this instanceof EnemyShip){
				this.game.score += this.maxHealth*100;
			}
			
		}else if(obj instanceof Ship && !sturdy){
			Ship s = ((Ship)obj);
			hurt(2*s.getHealth()/this.getHealth());
			flash();
		}
	}