Package net.sf.freecol.common.model
Class ColonyWas
- java.lang.Object
-
- net.sf.freecol.common.model.ColonyWas
-
public class ColonyWas extends java.lang.Object
Helper container to remember a colony state prior to some change, and fire off any consequent property changes.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<BuildableType>
buildQueue
private Colony
colony
private static java.util.logging.Logger
logger
private int
population
private int
productionBonus
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
fireChanges()
Fire any property changes resulting from actions within a colony.
-
-
-
Field Detail
-
logger
private static final java.util.logging.Logger logger
-
colony
private final Colony colony
-
population
private final int population
-
productionBonus
private final int productionBonus
-
buildQueue
private final java.util.List<BuildableType> buildQueue
-
-
Constructor Detail
-
ColonyWas
public ColonyWas(Colony colony)
Record the state of a colony.- Parameters:
colony
- TheColony
to remember.
-
-