aimingMode = AIM_MODE_TARG_COMP;
aimingMode = IAimingModes.AIM_MODE_TARG_COMP;
    public void setAimingMode() {      boolean allowAim;            allowAim = ((target != null) && ce().hasAimModeTargComp() && target instanceof Mech);      if (allowAim) {        if (lockedLocation) {          allowAim = ((Entity)target).equals((Entity)lockedTarget);          if (allowAim) {            aimingMode = AIM_MODE_TARG_COMP;            return;          }        } else {          aimingMode = AIM_MODE_TARG_COMP;          return;        }      }      allowAim = ((target != null) && target.isImmobile() && target instanceof Mech);      if (allowAim) {        aimingMode = AIM_MODE_IMMOBILE;        return;      }      aimingMode = AIM_MODE_NONE;    }