|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SOCSpecialItem | |
---|---|
soc.game | |
soc.message |
Uses of SOCSpecialItem in soc.game |
---|
Fields in soc.game with type parameters of type SOCSpecialItem | |
---|---|
private java.util.HashMap<java.lang.String,java.util.ArrayList<SOCSpecialItem>> |
SOCPlayer.spItems
Player's SOCSpecialItem s, if any, by type. |
private java.util.HashMap<java.lang.String,java.util.ArrayList<SOCSpecialItem>> |
SOCGame.spItems
Game's SOCSpecialItem s, if any, by type. |
Methods in soc.game that return SOCSpecialItem | |
---|---|
SOCSpecialItem |
SOCSpecialItem.clone()
For use in set copy constructors, create and return a clone of this SOCSpecialItem . |
SOCSpecialItem |
SOCPlayer.getSpecialItem(java.lang.String typeKey,
int idx)
Get a special item of a given type, by index within the list of all items of that type held by the player. |
SOCSpecialItem |
SOCGame.getSpecialItem(java.lang.String typeKey,
int idx)
Get a special item of a given type, by index within the list of all items of that type in this game. |
SOCSpecialItem |
SOCGame.getSpecialItem(java.lang.String typeKey,
int gi,
int pi,
int pn)
Get a special item of a given type, by index within the game's or player's list of all items of that type. |
static SOCSpecialItem |
SOCSpecialItem.makeKnownItem(java.lang.String typeKey,
int idx)
Create a scenario/expansion's special item if known. |
SOCSpecialItem |
SOCPlayer.setSpecialItem(java.lang.String typeKey,
int idx,
SOCSpecialItem itm)
Add or replace a special item in the player's list of items of that type. |
SOCSpecialItem |
SOCGame.setSpecialItem(java.lang.String typeKey,
int idx,
SOCSpecialItem itm)
Add or replace a special item in the game's list of items of that type. |
Methods in soc.game that return types with arguments of type SOCSpecialItem | |
---|---|
java.util.ArrayList<SOCSpecialItem> |
SOCPlayer.getSpecialItems(java.lang.String typeKey)
Get a list of all special items of a given type held by the player. |
java.util.ArrayList<SOCSpecialItem> |
SOCGame.getSpecialItems(java.lang.String typeKey)
Get a list of all special items of a given type in this game. |
Methods in soc.game with parameters of type SOCSpecialItem | |
---|---|
SOCSpecialItem |
SOCPlayer.setSpecialItem(java.lang.String typeKey,
int idx,
SOCSpecialItem itm)
Add or replace a special item in the player's list of items of that type. |
SOCSpecialItem |
SOCGame.setSpecialItem(java.lang.String typeKey,
int idx,
SOCSpecialItem itm)
Add or replace a special item in the game's list of items of that type. |
Uses of SOCSpecialItem in soc.message |
---|
Constructors in soc.message with parameters of type SOCSpecialItem | |
---|---|
SOCSetSpecialItem(SOCGame game,
int op,
java.lang.String typeKey,
int gi,
int pi,
SOCSpecialItem item)
Create a SOCSetSpecialItem message with data fields from an item object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |