|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsoc.message.SOCMessage
soc.message.SOCUpdateRobotParams
public class SOCUpdateRobotParams
This message means that the robot client needs to update the robot parameters with the contained information
| Field Summary | |
|---|---|
private SOCRobotParameters |
params
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
SOCUpdateRobotParams(SOCRobotParameters par)
Create a UpdateRobotParams message. |
|
| Method Summary | |
|---|---|
SOCRobotParameters |
getRobotParameters()
|
static SOCUpdateRobotParams |
parseDataStr(java.lang.String s)
Parse the command String into a UpdateRobotParams message |
java.lang.String |
toCmd()
UPDATEROBOTPARAMS sep maxGameLength sep2 maxETA sep2 etaBonusFactor sep2 adversarialFactor sep2 leaderAdversarialFactor sep2 devCardMultiplier sep2 threatMultiplier sep2 strategyType sep2 tradeFlag |
static java.lang.String |
toCmd(SOCRobotParameters par)
UPDATEROBOTPARAMS sep maxGameLength sep2 maxETA sep2 etaBonusFactor sep2 adversarialFactor sep2 leaderAdversarialFactor sep2 devCardMultiplier sep2 threatMultiplier sep2 strategyType sep2 tradeFlag |
java.lang.String |
toString()
Simple human-readable representation, used for debug purposes. |
| Methods inherited from class soc.message.SOCMessage |
|---|
arrayIntoStringBuf, enumIntoStringBuf, getClassNameShort, getMaximumVersion, getMinimumVersion, getType, isSingleLineAndSafe, isSingleLineAndSafe, toMsg |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private SOCRobotParameters params
| Constructor Detail |
|---|
public SOCUpdateRobotParams(SOCRobotParameters par)
par - the robot parameters| Method Detail |
|---|
public SOCRobotParameters getRobotParameters()
public java.lang.String toCmd()
toCmd in class SOCMessagepublic static java.lang.String toCmd(SOCRobotParameters par)
par - the robot parameters
public static SOCUpdateRobotParams 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 | |||||||||