|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Goods | |
---|---|
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.i18n | |
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 Goods in net.sf.freecol.client.control |
---|
Methods in net.sf.freecol.client.control with parameters of type Goods | |
---|---|
void |
InGameController.loadCargo(Goods goods,
Unit carrier)
Loads a cargo onto a carrier. |
void |
InGameController.payArrears(Goods goods)
Pays the tax arrears on this type of goods. |
void |
InGameController.sellGoods(Goods goods)
Sells goods in Europe. |
void |
InGameController.unloadCargo(Goods goods)
Unload cargo. |
void |
InGameController.unloadCargo(Goods goods,
boolean dump)
Unload cargo. |
Uses of Goods in net.sf.freecol.client.gui |
---|
Methods in net.sf.freecol.client.gui with parameters of type Goods | |
---|---|
Canvas.BoycottAction |
Canvas.showBoycottedGoodsDialog(Goods goods,
Europe europe)
Displays a dialog that asks the user whether to pay arrears for boycotted goods or to dump them instead. |
Uses of Goods in net.sf.freecol.client.gui.i18n |
---|
Methods in net.sf.freecol.client.gui.i18n with parameters of type Goods | |
---|---|
static java.lang.String |
Messages.getLabel(Goods goods)
Returns a description of the goods. |
Uses of Goods in net.sf.freecol.client.gui.panel |
---|
Methods in net.sf.freecol.client.gui.panel that return Goods | |
---|---|
Goods |
GoodsLabel.getGoods()
Returns this GoodsLabel's goods data. |
Methods in net.sf.freecol.client.gui.panel with parameters of type Goods | |
---|---|
void |
NegotiationDialog.addGoodsTradeItem(Player source,
Goods goods)
Adds a GoodsTradeItem to the list of TradeItems. |
Constructors in net.sf.freecol.client.gui.panel with parameters of type Goods | |
---|---|
GoodsLabel(Goods goods,
Canvas parent)
Initializes this JLabel with the given goods data. |
|
GoodsLabel(Goods goods,
Canvas parent,
boolean isSmall)
Initializes this JLabel with the given goods data. |
|
ProductionLabel(Goods goods,
Canvas parent)
Creates a new ProductionLabel instance. |
Constructor parameters in net.sf.freecol.client.gui.panel with type arguments of type Goods | |
---|---|
NegotiationDialog.GoodsTradeItemPanel(NegotiationDialog parent,
Player source,
java.util.List<Goods> allGoods)
Creates a new GoodsTradeItemPanel instance. |
Uses of Goods in net.sf.freecol.common.model |
---|
Methods in net.sf.freecol.common.model that return Goods | |
---|---|
Goods |
GoodsTradeItem.getGoods()
Get the Goods value. |
Goods |
GoodsContainer.getGoods(GoodsType goodsType)
|
Goods |
Player.getMostValuableGoods()
Returns the most valuable goods available in one of the player's colonies for the purposes of choosing a threat-to-boycott. |
Goods |
GoodsContainer.removeGoods(AbstractGoods g)
Removes Goods from this containter. |
Goods |
GoodsContainer.removeGoods(GoodsType type)
|
Goods |
GoodsContainer.removeGoods(GoodsType type,
int amount)
Removes the given amount of the given type of goods. |
Methods in net.sf.freecol.common.model that return types with arguments of type Goods | |
---|---|
java.util.List<Goods> |
Settlement.getCompactGoods()
Gets an List with every Goods in this
Colony . |
java.util.List<Goods> |
GoodsContainer.getCompactGoods()
Gets an Iterator of every Goods in this
GoodsContainer . |
java.util.List<Goods> |
GoodsContainer.getFullGoods()
Gets an Iterator of every Goods in this
GoodsContainer . |
java.util.List<Goods> |
GoodsContainer.getGoods()
Returns an ArrayList containing all
Goods in this GoodsContainer . |
java.util.List<Goods> |
DiplomaticTrade.getGoodsGivenBy(Player player)
Returns a list of goods given by Player |
java.util.Iterator<Goods> |
Unit.getGoodsIterator()
Gets a Iterator of every Unit directly
located on this Location . |
java.util.Iterator<Goods> |
Settlement.getGoodsIterator()
Gets an Iterator of every Goods in this
GoodsContainer . |
java.util.Iterator<Goods> |
GoodsContainer.getGoodsIterator()
Gets an Iterator of every Goods in this
GoodsContainer . |
java.util.List<Goods> |
Unit.getGoodsList()
Returns a List containing the goods carried by this unit. |
java.util.List<Goods> |
IndianSettlement.getSellGoods()
Returns an array with goods to sell |
Methods in net.sf.freecol.common.model with parameters of type Goods | |
---|---|
boolean |
Player.canTrade(Goods goods)
Returns true if type of goods can be traded in Europe. |
boolean |
Player.canTrade(Goods goods,
int marketAccess)
Returns true if type of goods can be traded at specified place |
boolean |
GoodsContainer.contains(Goods g)
Checks if the specified Goods is in this container. |
int |
Player.getArrears(Goods goods)
Returns the arrears due for a type of goods. |
int |
IndianSettlement.getPrice(Goods goods)
Gets the amount of gold this IndianSettlment
is willing to pay for the given Goods . |
int |
IndianSettlement.getPriceToSell(Goods goods)
Gets the amount of gold this IndianSettlment
is willing to pay for the given Goods . |
int |
Market.getSalePrice(Goods goods)
Gets the price of a given goods when the Player sells. |
void |
Player.resetArrears(Goods goods)
Resets the arrears for these goods to zero. |
void |
Market.sell(Goods goods,
Player player)
Sells an amount of a particular type of good with the proceeds of the sale being paid to a supplied player. |
void |
Player.setArrears(Goods goods)
Sets the arrears for these goods. |
void |
GoodsTradeItem.setGoods(Goods newGoods)
Set the Goods value. |
static java.lang.String |
Goods.toString(Goods goods)
|
Constructors in net.sf.freecol.common.model with parameters of type Goods | |
---|---|
GoodsTradeItem(Game game,
Player source,
Player destination,
Goods goods,
Settlement settlement)
Creates a new GoodsTradeItem instance. |
Uses of Goods in net.sf.freecol.common.networking |
---|
Methods in net.sf.freecol.common.networking that return Goods | |
---|---|
Goods |
DeliverGiftMessage.getGoods()
Get the Goods delivered as a gift. |
Constructors in net.sf.freecol.common.networking with parameters of type Goods | |
---|---|
BuyMessage(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Create a new BuyMessage . |
|
BuyPropositionMessage(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Create a new BuyPropositionMessage . |
|
DeliverGiftMessage(Unit unit,
Settlement settlement,
Goods goods)
Create a new DeliverGiftMessage . |
|
SellMessage(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Create a new SellMessage . |
|
SellPropositionMessage(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Create a new SellPropositionMessage . |
Uses of Goods in net.sf.freecol.server.ai |
---|
Methods in net.sf.freecol.server.ai that return Goods | |
---|---|
Goods |
AIGoods.getGoods()
Gets the goods this AIGoods is controlling. |
Methods in net.sf.freecol.server.ai with parameters of type Goods | |
---|---|
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. |
int |
StandardAIPlayer.buyProposition(Unit unit,
Goods goods,
int gold)
Called when another Player proposes a trade. |
int |
NewAIPlayer.buyProposition(Unit unit,
Goods goods,
int gold)
Deprecated. Called when another Player proposes a trade. |
int |
ColonialAIPlayer.buyProposition(Unit unit,
Goods goods,
int gold)
Called when another Player proposes a trade. |
abstract int |
AIPlayer.buyProposition(Unit unit,
Goods goods,
int gold)
Called when another Player proposes a trade. |
void |
StandardAIPlayer.registerSellGoods(Goods goods)
Called after another Player sends a trade message |
void |
NewAIPlayer.registerSellGoods(Goods goods)
Deprecated. Called after another Player sends a trade message |
void |
ColonialAIPlayer.registerSellGoods(Goods goods)
Called after another Player sends a trade message |
abstract void |
AIPlayer.registerSellGoods(Goods goods)
Called after another Player sends a trade message |
void |
AIGoods.setGoods(Goods goods)
Sets the goods this AIGoods is controlling. |
int |
StandardAIPlayer.tradeProposition(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Called when another Player proposes a trade. |
int |
IndianAIPlayer.tradeProposition(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Deprecated. Called when another Player proposes a trade. |
int |
EuropeanAIPlayer.tradeProposition(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Deprecated. Called when another Player proposes a trade. |
int |
ColonialAIPlayer.tradeProposition(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Called when another Player proposes a trade. |
abstract int |
AIPlayer.tradeProposition(Unit unit,
Settlement settlement,
Goods goods,
int gold)
Called when another Player proposes a trade. |
Uses of Goods in net.sf.freecol.server.ai.mission |
---|
Methods in net.sf.freecol.server.ai.mission that return Goods | |
---|---|
Goods |
IndianDemandMission.selectGoods(Colony target)
Selects the most desirable goods from the colony. |
Uses of Goods in net.sf.freecol.server.control |
---|
Methods in net.sf.freecol.server.control with parameters of type Goods | |
---|---|
void |
InGameController.unloadCargo(Player player,
Goods goods)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |