Package net.sf.freecol.common.model

Contains the game model.

See:
          Description

Interface Summary
CostDecider Determines the cost of a single move.
FreeColGameObjectListener Interface for retriving information about a the creation/deletion of FreeColGameObjects.
GoalDecider Used by search in order to determine a goal.
Locatable An object that can be put in a Location.
Location A place where a Locatable can be put.
ModelController The ModelController is used by the model to perform tasks which cannot be done by the model.
Nameable An object that has a name, which also can be changed.
Ownable Interface for objects which can be owned by a Player.
WorkLocation This interface marks the locations where a Unit can work.
 

Class Summary
Building Represents a building in a colony.
BuildingType Contains information on building types, like the number of upgrade levels a given building type can have.
BuildingType.Level Gives informations about the different levels a building can have.
Colony Represents a colony.
ColonyTile Represents a work location on a tile.
ColonyTradeItem  
DefaultCostDecider Class for determining the cost of a single move.
DiplomaticTrade The class DiplomaticTrade represents an offer one player can make another.
Europe Represents Europe in the game.
FoundingFather Represents one founding father to be contained in a Player object.
FreeColGameObject The superclass of all game objects in FreeCol.
Game The main component of the game model.
GameOptions Keeps track of the available game options.
GoldTradeItem  
Goods Represents a locatable goods of a specified type and amount.
GoodsContainer Contains goods and can be used by a Location to make certain tasks easier.
GoodsTradeItem  
GoodsType  
IndianSettlement Represents an Indian settlement.
LostCityRumour Represents a lost city rumour.
Map An isometric map.
Map.Position Represents a position on the Map.
Market This class implements a simple economic model whereby a market holds all goods that have been sold and the price of a particular type of good is determined solely by its availability in that market.
ModelMessage Contains a message about a change in the model.
Modifier The Modifier class encapsulates a bonus or penalty that can be applied to any action within the game, most obviously combat.
Monarch This class implements the player's monarch, whose functions prior to the revolution include raising taxes, declaring war on other European countries, and occasionally providing military support.
PathNode Represents a single Tile in a path.
PersistentObject  
Player Represents a player.
Settlement The super class of all settlements on the map (that is colonies and indian settlements).
StanceTradeItem  
Tension  
Tile Represents a single tile on the Map.
TileType  
TradeItem One of the items a DiplomaticTrade consists of.
TradeRoute A trade route.
Turn Represents a given turn in the game.
Unit Represents all pieces that can be moved on the map-board.
UnitContainer Contains units and can be used by a Location to make certain tasks easier.
UnitTradeItem  
UnitType  
 

Package net.sf.freecol.common.model Description

Contains the game model.

The superclass of all model objects is FreeColGameObject. The main component of the game model and the owner of the other game objects is Game. Every FreeColGamObject have a reference to the Game it belongs to.