Package net.sf.freecol.common.model
Class Colony.TileImprovementSuggestion
- java.lang.Object
-
- net.sf.freecol.common.model.Colony.TileImprovementSuggestion
-
- Enclosing class:
- Colony
public static class Colony.TileImprovementSuggestion extends java.lang.ObjectContainer class for tile exploration or improvement suggestions.
-
-
Field Summary
Fields Modifier and Type Field Description intamountThe expected improvement.static java.util.Comparator<Colony.TileImprovementSuggestion>descendingAmountComparatorComparator to order suggestions by descending improvement amount.TiletileThe tile to explore or improve.TileImprovementTypetileImprovementTypeThe tile improvement to make, or if null to explore an LCR.
-
Constructor Summary
Constructors Constructor Description TileImprovementSuggestion(Tile tile, TileImprovementType t, int amount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAmount()booleanisExploration()
-
-
-
Field Detail
-
descendingAmountComparator
public static final java.util.Comparator<Colony.TileImprovementSuggestion> descendingAmountComparator
Comparator to order suggestions by descending improvement amount.
-
tile
public Tile tile
The tile to explore or improve.
-
tileImprovementType
public TileImprovementType tileImprovementType
The tile improvement to make, or if null to explore an LCR.
-
amount
public int amount
The expected improvement. INFINITY for LCRs.
-
-
Constructor Detail
-
TileImprovementSuggestion
public TileImprovementSuggestion(Tile tile, TileImprovementType t, int amount)
-
-