|
||||||||||
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.ut3.communication.messages.gbcommands.Teleport
public class Teleport
Representation of the GameBotsUT3 command TELEPORT. Use this to teleport the bot to another location.
Field Summary | |
---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
ID of the bot to be teleported |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected Location |
TargetLocation
Where the bot teleports to. |
protected Rotation |
TargetRotation
Rotation after teleportation. |
Constructor Summary | |
---|---|
Teleport()
Creates new instance of command Teleport. |
|
Teleport(Teleport original)
Cloning constructor. |
|
Teleport(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
Location TargetLocation,
Rotation TargetRotation)
Creates new instance of command Teleport. |
Method Summary | |
---|---|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
ID of the bot to be teleported |
Location |
getTargetLocation()
Where the bot teleports to. |
Rotation |
getTargetRotation()
Rotation after teleportation. |
Teleport |
setId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
ID of the bot to be teleported |
Teleport |
setTargetLocation(Location TargetLocation)
Where the bot teleports to. |
Teleport |
setTargetRotation(Rotation TargetRotation)
Rotation after teleportation. |
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 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected Location TargetLocation
protected Rotation TargetRotation
Constructor Detail |
---|
public Teleport(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id, Location TargetLocation, Rotation TargetRotation)
Id
- ID of the bot to be teleportedTargetLocation
- Where the bot teleports to.TargetRotation
- Rotation after teleportation.public Teleport()
public Teleport(Teleport original)
original
- Method Detail |
---|
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
public Teleport setId(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id)
public Location getTargetLocation()
public Teleport setTargetLocation(Location TargetLocation)
public Rotation getTargetRotation()
public Teleport setTargetRotation(Rotation TargetRotation)
public String toString()
toString
in class CommandMessage
public String toHtmlString()
public String toMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |