|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbcommands.SetCrouch
public class SetCrouch

Representation of the GameBots2004 command SETCROUCH. Will crouch/uncrouch the bot. If crouched you cannot jump. If killed, this will be reset.
| Field Summary | |
|---|---|
protected java.lang.Boolean |
Crouch
True or false to crouch or unrouch. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
SetCrouch()
Creates new instance of command SetCrouch. |
|
SetCrouch(java.lang.Boolean Crouch)
Creates new instance of command SetCrouch. |
|
SetCrouch(SetCrouch original)
Cloning constructor. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
isCrouch()
True or false to crouch or unrouch. |
SetCrouch |
setCrouch(java.lang.Boolean Crouch)
True or false to crouch or unrouch. |
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 Crouch
| Constructor Detail |
|---|
public SetCrouch(java.lang.Boolean Crouch)
Crouch - True or false to crouch or unrouch.public SetCrouch()
public SetCrouch(SetCrouch original)
original - | Method Detail |
|---|
public java.lang.Boolean isCrouch()
public SetCrouch setCrouch(java.lang.Boolean Crouch)
public java.lang.String toString()
toString in class CommandMessagepublic 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 | ||||||||