|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SOCTradeOffer | |
---|---|
soc.client | |
soc.game | |
soc.message | |
soc.robot |
Uses of SOCTradeOffer in soc.client |
---|
Methods in soc.client with parameters of type SOCTradeOffer | |
---|---|
void |
SOCPlayerClient.GameManager.offerTrade(SOCGame ga,
SOCTradeOffer offer)
the user is making an offer to trade with another player. |
void |
SOCDisplaylessPlayerClient.offerTrade(SOCGame ga,
SOCTradeOffer offer)
the user is making an offer to trade with another player. |
void |
TradeOfferPanel.setOffer(SOCTradeOffer currentOffer)
Update to view the of an offer from another player. |
void |
TradeOfferPanel.OfferPanel.update(SOCTradeOffer offer)
Update the displayed offer. |
Uses of SOCTradeOffer in soc.game |
---|
Fields in soc.game declared as SOCTradeOffer | |
---|---|
private SOCTradeOffer |
SOCPlayer.currentOffer
this is the current trade offer that this player is making, or null if none |
Methods in soc.game that return SOCTradeOffer | |
---|---|
SOCTradeOffer |
SOCPlayer.getCurrentOffer()
|
Methods in soc.game with parameters of type SOCTradeOffer | |
---|---|
void |
SOCPlayer.setCurrentOffer(SOCTradeOffer of)
set the current offer for this player |
Constructors in soc.game with parameters of type SOCTradeOffer | |
---|---|
SOCTradeOffer(SOCTradeOffer offer)
make a copy of this offer |
Uses of SOCTradeOffer in soc.message |
---|
Fields in soc.message declared as SOCTradeOffer | |
---|---|
private SOCTradeOffer |
SOCMakeOffer.offer
The offer being made |
Methods in soc.message that return SOCTradeOffer | |
---|---|
SOCTradeOffer |
SOCMakeOffer.getOffer()
|
Methods in soc.message with parameters of type SOCTradeOffer | |
---|---|
static java.lang.String |
SOCMakeOffer.toCmd(java.lang.String ga,
SOCTradeOffer of)
|
Constructors in soc.message with parameters of type SOCTradeOffer | |
---|---|
SOCMakeOffer(java.lang.String ga,
SOCTradeOffer of)
Create a MakeOffer message. |
Uses of SOCTradeOffer in soc.robot |
---|
Fields in soc.robot with type parameters of type SOCTradeOffer | |
---|---|
protected java.util.Vector<SOCTradeOffer> |
SOCRobotNegotiator.offersMade
|
Methods in soc.robot that return SOCTradeOffer | |
---|---|
SOCTradeOffer |
SOCRobotNegotiator.getOfferToBank(SOCResourceSet targetResources)
|
SOCTradeOffer |
SOCRobotNegotiator.getOfferToBank(SOCResourceSet targetResources,
SOCResourceSet ourResources)
|
SOCTradeOffer |
SOCRobotNegotiator.makeCounterOffer(SOCTradeOffer originalOffer)
|
SOCTradeOffer |
SOCRobotNegotiator.makeOffer(SOCPossiblePiece targetPiece)
make an offer to another player |
protected SOCTradeOffer |
SOCRobotNegotiator.makeOfferAux(SOCResourceSet giveResourceSet,
SOCResourceSet getResourceSet,
int neededResource)
aux function for make offer |
Methods in soc.robot with parameters of type SOCTradeOffer | |
---|---|
void |
SOCRobotNegotiator.addToOffersMade(SOCTradeOffer offer)
add an offer to the offers made list |
protected int |
SOCRobotBrain.considerOffer(SOCTradeOffer offer)
Consider a trade offer made by another player. |
int |
SOCRobotNegotiator.considerOffer2(SOCTradeOffer offer,
int receiverNum)
consider an offer made by another player |
SOCTradeOffer |
SOCRobotNegotiator.makeCounterOffer(SOCTradeOffer originalOffer)
|
protected boolean |
SOCRobotBrain.makeCounterOffer(SOCTradeOffer offer)
make a counter offer to another player |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |