Example #1
0
 /**
  * Removes the given Goods from the Settlement.
  *
  * @param goods a <code>Goods</code> value
  */
 public Goods removeGoods(AbstractGoods goods) {
   return goodsContainer.removeGoods(goods);
 }
Example #2
0
 /**
  * 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);
 }
Example #3
0
 /**
  * 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);
 }