Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • skill

        public UnitType skill
        The skill taught at the settlement.
      • wantedGoods

        public java.util.List<GoodsType> wantedGoods
        The goods the settlement is interested in.
    • Constructor Detail

      • IndianSettlementInternals

        private IndianSettlementInternals()
    • Method Detail

      • update

        public void update​(IndianSettlement is)
        Update the internal information from a native settlement.
        Parameters:
        is - The IndianSettlement to update.
      • setValues

        public void setValues​(UnitType skill,
                              java.util.List<GoodsType> wanted)
        Set the internal values.
        Parameters:
        skill - The skill taught.
        wanted - The wanted goods.