Uses of Class
net.sf.freecol.common.model.Colony

Packages that use Colony
net.sf.freecol.client This is the main client package. 
net.sf.freecol.client.control Contains the classes responsible for the control of the game. 
net.sf.freecol.client.gui Contains the GUI classes. 
net.sf.freecol.client.gui.panel Contains the panels and dialogs. 
net.sf.freecol.common.model Contains the game model. 
net.sf.freecol.common.networking Contains the common networking classes. 
net.sf.freecol.server.ai The main package of the ai package tree. 
net.sf.freecol.server.ai.mission Contains the missions an AIUnit can be assigned to. 
net.sf.freecol.server.control Contains the classes responsible for the control of the game. 
 

Uses of Colony in net.sf.freecol.client
 

Methods in net.sf.freecol.client that return types with arguments of type Colony
 java.util.Comparator<Colony> ClientOptions.getColonyComparator()
          Return the client's preferred comparator for colonies.
static java.util.Comparator<Colony> ClientOptions.getColonyComparator(int type)
          Return the colony comparator identified by type.
 

Uses of Colony in net.sf.freecol.client.control
 

Methods in net.sf.freecol.client.control with parameters of type Colony
 void InGameController.abandonColony(Colony colony)
          Abandon a colony with no units
 boolean InGameController.claimLand(Tile tile, Colony colony, int offer)
          Claim a piece of land.
 Building ClientModelController.createBuilding(java.lang.String taskID, Colony colony, BuildingType type)
          Creates a new building.
 void InGameController.payForBuilding(Colony colony)
          Buys the remaining hammers and tools for the Building currently being built in the given Colony.
 void InGameController.setBuildQueue(Colony colony, java.util.List<BuildableType> buildQueue)
          Changes the current construction project of a Colony.
 void InGameController.setGoodsLevels(Colony colony, GoodsType goodsType)
          Sets the export settings of the custom house.
 

Uses of Colony in net.sf.freecol.client.gui
 

Methods in net.sf.freecol.client.gui with parameters of type Colony
 void GUI.displayColonyTile(java.awt.Graphics2D g, Map map, Tile tile, int x, int y, Colony colony)
          Displays the given Tile onto the given Graphics2D object at the location specified by the coordinates.
 void Canvas.showColonyPanel(Colony colony)
          Displays the colony panel of the given Colony.
 Canvas.ScoutAction Canvas.showScoutForeignColonyDialog(Colony colony, Unit unit)
          Displays a dialog that asks the user what he wants to do with his scout in the foreign colony.
 

Uses of Colony in net.sf.freecol.client.gui.panel
 

Methods in net.sf.freecol.client.gui.panel that return Colony
 Colony ColonyPanel.getColony()
          Returns a pointer to the Colony-pointer in use.
 Colony ColonyPanel.OutsideColonyPanel.getColony()
           
 

Methods in net.sf.freecol.client.gui.panel that return types with arguments of type Colony
 java.util.Map<Colony,LabourData.LocationData> LabourData.UnitData.getDetails()
           
 

Methods in net.sf.freecol.client.gui.panel with parameters of type Colony
 void NegotiationDialog.addColonyTradeItem(Player source, Colony colony)
          Adds a ColonyTradeItem to the list of TradeItems.
 void ColonyPanel.initialize(Colony colony)
          Initialize the data on the window.
 void ColonyPanel.initialize(Colony colony, Unit preSelectedUnit)
          Initialize the data on the window.
 void ConstructionPanel.setColony(Colony newColony)
           
 void ColonyPanel.OutsideColonyPanel.setColony(Colony newColony)
           
 

Constructors in net.sf.freecol.client.gui.panel with parameters of type Colony
BuildingSitePanel(Colony colony, Canvas parent)
          Creates this ColonyPanel.
BuildingSiteToolTip(Colony colony, Canvas parent)
          Creates this BuildingSiteToolTip.
BuildQueuePanel(Colony colony, Canvas parent)
           
ColonyPanel(Colony colony, Canvas parent)
          The constructor for the panel.
ConstructionPanel(Canvas parent, Colony colony)
          Creates this BuildingToolTip.
RebelToolTip(Colony colony, Canvas parent)
          Creates this RebelToolTip.
WarehouseDialog.WarehouseGoodsPanel(Colony colony, GoodsType goodsType)
           
WarehouseDialog(Canvas parent, Colony colony)
          The constructor that will add the items to this panel.
 

Uses of Colony in net.sf.freecol.common.model
 

Methods in net.sf.freecol.common.model that return Colony
 Colony WorkLocation.getColony()
          Returns the Colony this WorkLocation is located in.
 Colony Unit.getColony()
          Gets the Colony this unit is in.
 Colony Tile.getColony()
          Gets the Colony located on this Tile.
 Colony Location.getColony()
          Returns the Colony this Location is located in or null if this Location does not belong to a colony.
 Colony IndianSettlement.getColony()
          An Indian settlement is no colony.
 Colony Europe.getColony()
          Europe does not belong to a colony.
 Colony ColonyTradeItem.getColony()
          Get the Colony value.
 Colony ColonyTile.getColony()
          Gets a pointer to the colony containing this tile.
 Colony Colony.getColony()
          Returns just this Colony itself.
 Colony Building.getColony()
          Gets a pointer to the colony containing this building.
 Colony Player.getColony(java.lang.String name)
          Returns the Colony with the given name.
 

Methods in net.sf.freecol.common.model that return types with arguments of type Colony
 java.util.List<Colony> Player.getColonies()
          Returns a list of all Colonies this player owns.
 java.util.List<Colony> DiplomaticTrade.getColoniesGivenBy(Player player)
          Returns a list of colonies given by Player
 

Methods in net.sf.freecol.common.model with parameters of type Colony
 void SimpleCombatModel.bombard(Colony colony, Unit defender, CombatModel.CombatResult result, Location repairLocation)
          Bombard a unit with the given outcome.
 void CombatModel.bombard(Colony colony, Unit defender, CombatModel.CombatResult result, Location repairLocation)
          Bombard a unit with the given outcome.
 void Unit.buildColony(Colony colony)
          Makes this unit build the specified colony.
 void SimpleCombatModel.captureColony(Unit attacker, Colony colony, int plunderGold, Location repairLocation)
          Captures an enemy colony and plunders gold.
 Building ModelController.createBuilding(java.lang.String taskID, Colony colony, BuildingType type)
          Creates a new building.
 CombatModel.CombatResult SimpleCombatModel.generateAttackResult(Colony colony, Unit defender)
          Generates the result of a colony bombarding a Unit.
 CombatModel.CombatResult CombatModel.generateAttackResult(Colony colony, Unit defender)
          Generates the result of a colony bombarding a Unit.
 float SimpleCombatModel.getDefencePower(Colony colony, Unit defender)
          Return the defensive power of the defender versus the bombarding colony.
 float CombatModel.getDefencePower(Colony colony, Unit defender)
          Return the defensive power of the defender versus the bombarding colony.
 java.util.Set<Modifier> SimpleCombatModel.getDefensiveModifiers(Colony colony, Unit defender)
          Return a list of all defensive modifiers that apply to the defender versus the bombarding colony.
 java.util.Set<Modifier> CombatModel.getDefensiveModifiers(Colony colony, Unit defender)
          Return a list of all defensive modifiers that apply to the defender versus the bombarding colony.
 float SimpleCombatModel.getOffencePower(Colony colony, Unit defender)
          Returns the power for bombarding
 float CombatModel.getOffencePower(Colony colony, Unit defender)
          Returns the power for bombarding
 java.util.Set<Modifier> SimpleCombatModel.getOffensiveModifiers(Colony colony, Unit defender)
          Return a list of all offensive modifiers that apply to the attacker versus the defender.
 java.util.Set<Modifier> CombatModel.getOffensiveModifiers(Colony colony, Unit defender)
          Return a list of all offensive modifiers that apply to the attacker versus the defender.
 void Unit.joinColony(Colony colony)
          Join existing colony.
 void ColonyTradeItem.setColony(Colony newColony)
          Set the Colony value.
 

Constructors in net.sf.freecol.common.model with parameters of type Colony
Building(Game game, Colony colony, BuildingType type)
          Creates a new Building.
ColonyTile(Game game, Colony colony, Tile workTile)
          Creates a new ColonyTile.
ColonyTradeItem(Game game, Player source, Player destination, Colony colony)
          Creates a new ColonyTradeItem instance.
 

Uses of Colony in net.sf.freecol.common.networking
 

Constructors in net.sf.freecol.common.networking with parameters of type Colony
JoinColonyMessage(Colony colony, Unit builder)
          Create a new JoinColonyMessage with the supplied name and building unit.
 

Uses of Colony in net.sf.freecol.server.ai
 

Methods in net.sf.freecol.server.ai that return Colony
 Colony ColonyPlan.getColony()
          Gets the Colony this ColonyPlan controls.
 Colony AIColony.getColony()
          Gets the Colony this AIColony controls.
 

Methods in net.sf.freecol.server.ai with parameters of type Colony
 boolean StandardAIPlayer.acceptIndianDemand(Unit unit, Colony colony, Goods goods, int gold)
          Decides whether to accept an Indian demand, or not.
 boolean REFAIPlayer.acceptIndianDemand(Unit unit, Colony colony, Goods goods, int gold)
          Deprecated. Decides whether to accept an Indian demand, or not.
abstract  boolean EuropeanAIPlayer.acceptIndianDemand(Unit unit, Colony colony, Goods goods, int gold)
          Deprecated. Decides whether to accept an Indian demand, or not.
 boolean ColonialAIPlayer.acceptIndianDemand(Unit unit, Colony colony, Goods goods, int gold)
          Decides whether to accept an Indian demand, or not.
abstract  boolean AIPlayer.acceptIndianDemand(Unit unit, Colony colony, Goods goods, int gold)
          Decides whether to accept an Indian demand, or not.
 

Constructors in net.sf.freecol.server.ai with parameters of type Colony
AIColony(AIMain aiMain, Colony colony)
          Creates a new AIColony.
ColonyPlan(AIMain aiMain, Colony colony)
          Creates a new ColonyPlan.
ProductionCache(Colony colony)
           
 

Uses of Colony in net.sf.freecol.server.ai.mission
 

Methods in net.sf.freecol.server.ai.mission that return Colony
static Colony PioneeringMission.findColonyWithTools(AIUnit aiu)
           
 

Methods in net.sf.freecol.server.ai.mission with parameters of type Colony
 Goods IndianDemandMission.selectGoods(Colony target)
          Selects the most desirable goods from the colony.
 

Constructors in net.sf.freecol.server.ai.mission with parameters of type Colony
IndianBringGiftMission(AIMain aiMain, AIUnit aiUnit, Colony target)
          Creates a mission for the given AIUnit.
IndianDemandMission(AIMain aiMain, AIUnit aiUnit, Colony target)
          Creates a mission for the given AIUnit.
 

Uses of Colony in net.sf.freecol.server.control
 

Methods in net.sf.freecol.server.control with parameters of type Colony
 Building ServerModelController.createBuilding(java.lang.String taskID, Colony colony, BuildingType type)
          Creates a new building.
 Building ServerModelController.createBuilding(java.lang.String taskID, Colony colony, BuildingType type, boolean secure, Connection connection)
          Creates a new building.