|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoc.robot.SOCPossiblePiece
soc.robot.SOCPossiblePickSpecialItem
public class SOCPossiblePickSpecialItem
This is a possible Special Item Pick that we can request from the server,
with a SOCSetSpecialItem.OP_PICK message.
| Field Summary | |
|---|---|
SOCResourceSet |
cost
The resource costs if any, or null |
int |
gi
The pick request's game index |
int |
pi
The pick request's player index |
java.lang.String |
typeKey
The special item's typeKey, for SOCSetSpecialItem.typeKey |
| Fields inherited from class soc.robot.SOCPossiblePiece |
|---|
biggestThreats, CARD, CITY, coord, eta, hasBeenExpanded, MAXPLUSONE, MIN, PICK_SPECIAL, pieceType, player, ROAD, score, SETTLEMENT, SHIP, threats, threatUpdatedFlag, updated |
| Constructor Summary | |
|---|---|
SOCPossiblePickSpecialItem(SOCPlayer pl,
java.lang.String type,
int gi,
int pi,
int eta,
SOCResourceSet cost)
Constructor. |
|
| Method Summary |
|---|
| Methods inherited from class soc.robot.SOCPossiblePiece |
|---|
addBiggestThreat, addThreat, addToScore, clearBiggestThreats, clearThreats, clearUpdateFlag, getBiggestThreats, getCoordinates, getETA, getPlayer, getResourcesToBuild, getScore, getThreats, getType, hasBeenExpanded, isETAUpdated, isThreatUpdated, resetExpandedFlag, resetScore, setETA, setExpandedFlag, subtractFromScore, threatUpdated, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String typeKey
typeKey, for SOCSetSpecialItem.typeKey
public final int gi
public final int pi
public final SOCResourceSet cost
null
| Constructor Detail |
|---|
public SOCPossiblePickSpecialItem(SOCPlayer pl,
java.lang.String type,
int gi,
int pi,
int eta,
SOCResourceSet cost)
pl - the ownertype - the special item's typeKey, for SOCSetSpecialItem.typeKeygi - the pick request's game indexpi - the pick request's player indexeta - the ETAcost - the resource costs if any, or null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||