|
|||||||||
| 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.Dodge
public class Dodge

Representation of the GameBots2004 command DODGE. Causes the bot to dodge (do jump) to supported direction.
| Field Summary | |
|---|---|
protected Vector3d |
Direction
Relative vector, will be normalized. |
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
| Constructor Summary | |
|---|---|
Dodge()
Creates new instance of command Dodge. |
|
Dodge(Vector3d Direction)
Creates new instance of command Dodge. |
|
| Method Summary | |
|---|---|
Vector3d |
getDirection()
Relative vector, will be normalized. |
Dodge |
setDirection(Vector3d Direction)
Relative vector, will be normalized. |
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 Vector3d Direction
| Constructor Detail |
|---|
public Dodge(Vector3d Direction)
Direction - Relative vector, will be normalized. The direction of the
dodge will be added to current bot rotation.public Dodge()
| Method Detail |
|---|
public Vector3d getDirection()
public Dodge setDirection(Vector3d Direction)
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 | ||||||||