|
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.message.SOCMessage
soc.message.SOCDiceResult
This message reports what was rolled on the dice
Field Summary |
Constructor Summary | |
SOCDiceResult(java.lang.String ga,
int dr)
Create a DiceResult message. |
Method Summary | |
java.lang.String |
getGame()
|
int |
getResult()
|
static SOCDiceResult |
parseDataStr(java.lang.String s)
Parse the command String into a DiceResult message |
java.lang.String |
toCmd()
DICERESULT sep game sep2 result |
static java.lang.String |
toCmd(java.lang.String ga,
int dr)
DICERESULT sep game sep2 result |
java.lang.String |
toString()
|
Methods inherited from class soc.message.SOCMessage |
getType, toMsg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SOCDiceResult(java.lang.String ga, int dr)
ga
- the name of the gamedr
- the dice resultMethod Detail |
public java.lang.String getGame()
public int getResult()
public java.lang.String toCmd()
toCmd
in class SOCMessage
public static java.lang.String toCmd(java.lang.String ga, int dr)
ga
- the name of the gamedr
- the dice result
public static SOCDiceResult parseDataStr(java.lang.String s)
s
- the String to parse
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 |