|
||||||||||
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.CheckReachability
public class CheckReachability
Check to see if you can move directly to a destination without hitting an obstruction, falling in a pit, etc. Responding with RCH message. Corresponding GameBots command is CHECKREACH.
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
The unique Id of a player/object/nav point/whatever. |
Constructor Summary | |
---|---|
CheckReachability()
Creates new instance of command CheckReachability. |
|
CheckReachability(CheckReachability original)
Cloning constructor. |
|
CheckReachability(String Id,
UnrealId Target,
Location Location)
Creates new instance of command CheckReachability. |
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()
The unique Id of a player/object/nav point/whatever. |
CheckReachability |
setId(String Id)
Message Id made up by you and echoed in response so you can match up response with query. |
CheckReachability |
setLocation(Location Location)
Location you want to go to. |
CheckReachability |
setTarget(UnrealId Target)
The unique Id of a player/object/nav point/whatever. |
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 CheckReachability(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
- The unique Id of a player/object/nav point/whatever.Location
- Location you want to go to. Normal location rules. Only used
if no Target is sent.public CheckReachability()
public CheckReachability(CheckReachability original)
Method Detail |
---|
public String getId()
public CheckReachability setId(String Id)
public UnrealId getTarget()
public CheckReachability setTarget(UnrealId Target)
public Location getLocation()
public CheckReachability 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 |