|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TradeItem | |
---|---|
net.sf.freecol.common.model | Contains the game model. |
Uses of TradeItem in net.sf.freecol.common.model |
---|
Subclasses of TradeItem in net.sf.freecol.common.model | |
---|---|
class |
ColonyTradeItem
|
class |
GoldTradeItem
|
class |
GoodsTradeItem
|
class |
StanceTradeItem
|
class |
UnitTradeItem
|
Methods in net.sf.freecol.common.model that return types with arguments of type TradeItem | |
---|---|
java.util.List<TradeItem> |
DiplomaticTrade.getTradeItems()
Returns all TradeItems. |
java.util.Iterator<TradeItem> |
DiplomaticTrade.iterator()
Returns an iterator for all TradeItems. |
Methods in net.sf.freecol.common.model with parameters of type TradeItem | |
---|---|
void |
DiplomaticTrade.add(TradeItem newItem)
Add a TradeItem to the DiplomaticTrade. |
void |
DiplomaticTrade.remove(TradeItem newItem)
Remove a TradeItem from the DiplomaticTrade. |
void |
DiplomaticTrade.removeType(TradeItem someItem)
Removes all trade items of the same class as the given argument. |
Constructor parameters in net.sf.freecol.common.model with type arguments of type TradeItem | |
---|---|
DiplomaticTrade(Game game,
Player sender,
Player recipient,
java.util.List<TradeItem> items)
Creates a new DiplomaticTrade instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |