/** * Removes the given Goods from the Settlement. * * @param goods a <code>Goods</code> value */ public Goods removeGoods(AbstractGoods goods) { return goodsContainer.removeGoods(goods); }
/** * Removes all Goods of the given type from the Settlement. * * @param type a <code>GoodsType</code> value */ public Goods removeGoods(GoodsType type) { return goodsContainer.removeGoods(type); }
/** * Removes a specified amount of a type of Goods from this Settlement. * * @param type The type of Goods to remove from this settlement. * @param amount The amount of Goods to remove from this settlement. */ public Goods removeGoods(GoodsType type, int amount) { return goodsContainer.removeGoods(type, amount); }