|
||||||||||
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.udk.communication.messages.gbcommands.GetPath
public class GetPath
Get a path to a specified location or a navigation point. An ordered list of path nodes will be returned to you by IPTH messages. Corresponding GameBots command is GETPATH.
Field Summary | |
---|---|
protected String |
Id
Message Id made up by you and echoed in response so you can match up response with query. |
protected Location |
Location
Location you want to go to. |
protected UnrealId |
Target
UnrealId of navigation point you want to find path to. |
Constructor Summary | |
---|---|
GetPath()
Creates new instance of command GetPath. |
|
GetPath(GetPath original)
Cloning constructor. |
|
GetPath(String Id,
UnrealId Target,
Location Location)
Creates new instance of command GetPath. |
Method Summary | |
---|---|
String |
getId()
Message Id made up by you and echoed in response so you can match up response with query. |
Location |
getLocation()
Location you want to go to. |
UnrealId |
getTarget()
UnrealId of navigation point you want to find path to. |
GetPath |
setId(String Id)
Message Id made up by you and echoed in response so you can match up response with query. |
GetPath |
setLocation(Location Location)
Location you want to go to. |
GetPath |
setTarget(UnrealId Target)
UnrealId of navigation point you want to find path to. |
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 |
---|
protected String Id
protected UnrealId Target
protected Location Location
Constructor Detail |
---|
public GetPath(String Id, UnrealId Target, Location Location)
Id
- Message Id made up by you and echoed in response so you can
match up response with query.Target
- UnrealId of navigation point you want to find path to. Will be parsed BEFORE Location attribute. If supported, Location attribute won't be parsed. If the point does not exists, blank path will be returned.Location
- Location you want to go to.public GetPath()
public GetPath(GetPath original)
Method Detail |
---|
public String getId()
public GetPath setId(String Id)
public UnrealId getTarget()
public GetPath setTarget(UnrealId Target)
public Location getLocation()
public GetPath setLocation(Location Location)
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 |