public class DriveTo
extends cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
Modifier and Type | Field and Description |
---|---|
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Target
The unique id of a NavPoint, Mover or item (beware, not all of the items
have unique id).
|
Constructor and Description |
---|
DriveTo()
Creates new instance of command DriveTo.
|
DriveTo(DriveTo original)
Cloning constructor.
|
DriveTo(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
Creates new instance of command DriveTo.
|
Modifier and Type | Method and Description |
---|---|
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getTarget()
The unique id of a NavPoint, Mover or item (beware, not all of the items
have unique id).
|
DriveTo |
setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
The unique id of a NavPoint, Mover or item (beware, not all of the items
have unique id).
|
String |
toHtmlString() |
String |
toMessage() |
String |
toString() |
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target
public DriveTo(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
Target
- The unique id of a NavPoint, Mover or item (beware, not all of the items
have unique id). Recommended is to specify NavPoint Id as it is always unique.
Won't work with player IDs.public DriveTo()
public DriveTo(DriveTo original)
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getTarget()
public DriveTo setTarget(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Target)
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessage
public String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.