|
JSettlers v1.0.6 API Built ${date} |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoc.game.SOCTradeOffer
This class represents a trade offer in Settlers of Catan
| Constructor Summary | |
SOCTradeOffer(SOCTradeOffer offer)
make a copy of this offer |
|
SOCTradeOffer(java.lang.String game,
int from,
boolean[] to,
SOCResourceSet give,
SOCResourceSet get)
The constructor for a SOCTradeOffer |
|
| Method Summary | |
int |
getFrom()
|
java.lang.String |
getGame()
|
SOCResourceSet |
getGetSet()
|
SOCResourceSet |
getGiveSet()
|
boolean[] |
getTo()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SOCTradeOffer(java.lang.String game,
int from,
boolean[] to,
SOCResourceSet give,
SOCResourceSet get)
game - the name of the game in which this offer was madefrom - the number of the player making the offerto - a boolean array where 'true' means that the offer
is being made to the player with the same number as
the index of the 'true'give - the set of resources being givenget - the set of resources being asked forpublic SOCTradeOffer(SOCTradeOffer offer)
offer - the trade offer to copy| Method Detail |
public java.lang.String getGame()
public int getFrom()
public boolean[] getTo()
public SOCResourceSet getGiveSet()
public SOCResourceSet getGetSet()
public java.lang.String toString()
|
JSettlers v1.0.6 API Built ${date} |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||