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.Object
Container class for tile exploration or improvement suggestions.
-
-
Field Summary
Fields Modifier and Type Field Description int
amount
The expected improvement.static java.util.Comparator<Colony.TileImprovementSuggestion>
descendingAmountComparator
Comparator to order suggestions by descending improvement amount.Tile
tile
The tile to explore or improve.TileImprovementType
tileImprovementType
The 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 int
getAmount()
boolean
isExploration()
-
-
-
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)
-
-