|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.base.communication.messages.CommandMessage
cz.cuni.amis.pogamut.udk.communication.messages.gbcommands.Trace
public class Trace
Will send a ray from specified location to specified destination, responds with TRC message. TRACE uses Trace function - slower then FastTrace function, but provides more information about collision. Corresponding GameBots command is TRACE.
| Field Summary | |
|---|---|
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
From
Origin point of the ray. |
protected String |
Id
Message Id made up by you and echoed in response so you can match up response with query. |
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
To
Target point of the ray. |
protected boolean |
TraceActors
When true it means that all actors will be traced – for example players, bots, monsters, items etc. in a game. |
| Constructor Summary | |
|---|---|
Trace()
Creates new instance of command Trace. |
|
Trace(String Id,
cz.cuni.amis.pogamut.base3d.worldview.object.Location From,
cz.cuni.amis.pogamut.base3d.worldview.object.Location To,
boolean TraceActors)
Creates new instance of command Trace. |
|
Trace(Trace original)
Cloning constructor. |
|
| Method Summary | |
|---|---|
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getFrom()
Origin point of the ray. |
String |
getId()
Message Id made up by you and echoed in response so you can match up response with query. |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getTo()
Target point of the ray. |
boolean |
isTraceActors()
When true it means that all actors will be traced – for example players, bots, monsters, items etc. in a game. |
Trace |
setFrom(cz.cuni.amis.pogamut.base3d.worldview.object.Location From)
Origin point of the ray. |
Trace |
setId(String Id)
Message Id made up by you and echoed in response so you can match up response with query. |
Trace |
setTo(cz.cuni.amis.pogamut.base3d.worldview.object.Location To)
Target point of the ray. |
Trace |
setTraceActors(boolean TraceActors)
When true it means that all actors will be traced – for example players, bots, monsters, items etc. in a game. |
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 cz.cuni.amis.pogamut.base3d.worldview.object.Location From
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location To
protected boolean TraceActors
| Constructor Detail |
|---|
public Trace(String Id,
cz.cuni.amis.pogamut.base3d.worldview.object.Location From,
cz.cuni.amis.pogamut.base3d.worldview.object.Location To,
boolean TraceActors)
Id - Message Id made up by you and echoed in response so you can
match up response with query.From - Origin point of the ray. If you won't support From
attribute, current bot location will be taken as From.To - Target point of the ray.TraceActors - When true it means that all actors will be traced – for
example players, bots, monsters, items etc. in a game. With
TraceActors false we trace just level geometry.public Trace()
public Trace(Trace original)
| Method Detail |
|---|
public String getId()
public Trace setId(String Id)
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getFrom()
public Trace setFrom(cz.cuni.amis.pogamut.base3d.worldview.object.Location From)
public cz.cuni.amis.pogamut.base3d.worldview.object.Location getTo()
public Trace setTo(cz.cuni.amis.pogamut.base3d.worldview.object.Location To)
public boolean isTraceActors()
public Trace setTraceActors(boolean TraceActors)
public String toString()
toString in class cz.cuni.amis.pogamut.base.communication.messages.CommandMessagepublic String toHtmlString()
public String toMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||