|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.CommandMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetWalk
public class SetWalk
Representation of the GameBots2004 command SETWALK. Set whether you are walking or running (default is run).
Field Summary | |
---|---|
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected java.lang.String |
RunAnim
Change name of running animation. |
protected java.lang.Boolean |
Walk
True or false to enable/disable bot walking. |
protected java.lang.String |
WalkAnim
Change name of walking animation. |
Constructor Summary | |
---|---|
SetWalk()
Creates new instance of command SetWalk. |
|
SetWalk(java.lang.Boolean Walk,
java.lang.String WalkAnim,
java.lang.String RunAnim)
Creates new instance of command SetWalk. |
|
SetWalk(SetWalk original)
Cloning constructor. |
Method Summary | |
---|---|
java.lang.String |
getRunAnim()
Change name of running animation. |
java.lang.String |
getWalkAnim()
Change name of walking animation. |
java.lang.Boolean |
isWalk()
True or false to enable/disable bot walking. |
SetWalk |
setRunAnim(java.lang.String RunAnim)
Change name of running animation. |
SetWalk |
setWalk(java.lang.Boolean Walk)
True or false to enable/disable bot walking. |
SetWalk |
setWalkAnim(java.lang.String WalkAnim)
Change name of walking animation. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toMessage()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected java.lang.Boolean Walk
protected java.lang.String WalkAnim
protected java.lang.String RunAnim
Constructor Detail |
---|
public SetWalk(java.lang.Boolean Walk, java.lang.String WalkAnim, java.lang.String RunAnim)
Walk
- True or false to enable/disable bot walking.WalkAnim
- Change name of walking animation. Supported in UE2.RunAnim
- Change name of running animation. Supported in UE2public SetWalk()
public SetWalk(SetWalk original)
original
- Method Detail |
---|
public java.lang.Boolean isWalk()
public SetWalk setWalk(java.lang.Boolean Walk)
public java.lang.String getWalkAnim()
public SetWalk setWalkAnim(java.lang.String WalkAnim)
public java.lang.String getRunAnim()
public SetWalk setRunAnim(java.lang.String RunAnim)
public java.lang.String toString()
toString
in class CommandMessage
public java.lang.String toHtmlString()
public java.lang.String toMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |