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.ObjectInformation that is internal to the native settlements, and only updated on close contact.
-
-
Field Summary
Fields Modifier and Type Field Description UnitTypeskillThe skill taught at the settlement.java.util.List<GoodsType>wantedGoodsThe goods the settlement is interested in.
-
Constructor Summary
Constructors Modifier Constructor Description privateIndianSettlementInternals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetValues(UnitType skill, java.util.List<GoodsType> wanted)Set the internal values.voidupdate(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- TheIndianSettlementto update.
-
-