public class DriveTo extends CommandMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected 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(UnrealId Target)
Creates new instance of command DriveTo.
|
| Modifier and Type | Method and Description |
|---|---|
UnrealId |
getTarget()
The unique id of a NavPoint, Mover or item (beware, not all of the items
have unique id).
|
DriveTo |
setTarget(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() |
public static final String PROTOTYPE
protected UnrealId Target
public DriveTo(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)
original - public UnrealId getTarget()
public DriveTo setTarget(UnrealId Target)
public String toString()
toString in class CommandMessagepublic String toHtmlString()
public String toMessage()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.