if (subcat != SUBCATEGORY_FREIGHT && subcat != SUBCATEGORY_PASSENGERS) throw new IllegalArgumentException();  subcategory = subcat;
    public DeliverCargoReceipt(GameTime time, long value, CargoBundle cb) {        super(time, value);        cargoDelivered = cb;    }