Package net.sf.freecol.common.model
Class Tile.IndianSettlementInternals
- java.lang.Object
-
- net.sf.freecol.common.model.Tile.IndianSettlementInternals
-
- Enclosing class:
- Tile
private static class Tile.IndianSettlementInternals extends java.lang.Object
Information that is internal to the native settlements, and only updated on close contact.
-
-
Field Summary
Fields Modifier and Type Field Description UnitType
skill
The skill taught at the settlement.java.util.List<GoodsType>
wantedGoods
The goods the settlement is interested in.
-
Constructor Summary
Constructors Modifier Constructor Description private
IndianSettlementInternals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setValues(UnitType skill, java.util.List<GoodsType> wanted)
Set the internal values.void
update(IndianSettlement is)
Update the internal information from a native settlement.
-
-
-
Method Detail
-
update
public void update(IndianSettlement is)
Update the internal information from a native settlement.- Parameters:
is
- TheIndianSettlement
to update.
-
-