|
||||||||||
| 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 Boolean |
Crouch
True or false to crouch or unrouch. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
SetCrouch()
Creates new instance of command SetCrouch. |
|
SetCrouch(Boolean Crouch)
Creates new instance of command SetCrouch. |
|
SetCrouch(SetCrouch original)
Cloning constructor. |
|
| Method Summary | |
|---|---|
Boolean |
isCrouch()
True or false to crouch or unrouch. |
SetCrouch |
setCrouch(Boolean Crouch)
True or false to crouch or unrouch. |
String |
toHtmlString()
|
String |
toMessage()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROTOTYPE
protected Boolean Crouch
| Constructor Detail |
|---|
public SetCrouch(Boolean Crouch)
Crouch - True or false to crouch or unrouch.public SetCrouch()
public SetCrouch(SetCrouch original)
original - | Method Detail |
|---|
public Boolean isCrouch()
public SetCrouch setCrouch(Boolean Crouch)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||