|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoc.message.SOCMessage
soc.message.SOCDevCardCount
This message says how many development cards are in the deck.
| Field Summary | |
private java.lang.String |
game
Name of game |
private int |
numDevCards
The number of dev cards |
| Constructor Summary | |
SOCDevCardCount(java.lang.String ga,
int nd)
Create a DevCardCount message. |
|
| Method Summary | |
java.lang.String |
getGame()
|
int |
getNumDevCards()
|
static SOCDevCardCount |
parseDataStr(java.lang.String s)
Parse the command String into a DevCardCount message |
java.lang.String |
toCmd()
DEVCARDCOUNT sep game sep2 numDevCards |
static java.lang.String |
toCmd(java.lang.String ga,
int nd)
DEVCARDCOUNT sep game sep2 numDevCards |
java.lang.String |
toString()
Simple human-readable representation, used for debug purposes. |
| Methods inherited from class soc.message.SOCMessage |
getMaximumVersion, getMinimumVersion, getType, toMsg, toSingleElemArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.lang.String game
private int numDevCards
| Constructor Detail |
public SOCDevCardCount(java.lang.String ga,
int nd)
ga - the name of the gamend - the number of dev cards| Method Detail |
public java.lang.String getGame()
public int getNumDevCards()
public java.lang.String toCmd()
toCmd in class SOCMessage
public static java.lang.String toCmd(java.lang.String ga,
int nd)
ga - the name of the gamend - the number of dev cards
public static SOCDevCardCount parseDataStr(java.lang.String s)
s - the String to parse
public java.lang.String toString()
SOCMessage
toString in class SOCMessage
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||