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

java.lang.Objectcz.cuni.amis.pogamut.udk.agent.navigation.martinnavigator.MartinRunner
public class MartinRunner
| Field Summary | |
|---|---|
protected AdvancedLocomotion |
body
Agent's body. |
protected UDKBot |
bot
Agent's bot. |
protected Logger |
log
Agent's log. |
protected AgentInfo |
memory
Loque memory. |
protected Senses |
senses
Base agent's senses. |
| Constructor Summary | |
|---|---|
MartinRunner(UDKBot bot,
AgentInfo agentInfo,
AdvancedLocomotion locomotion,
Logger log)
Constructor. |
|
| Method Summary | |
|---|---|
void |
reset()
Initializes direct running to the given destination. |
boolean |
runToLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location firstLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Location secondLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Location focus,
NavPointNeighbourLink navPointsLink,
boolean reachable)
Called iteratively to reach the 'firstLocation'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected UDKBot bot
protected AgentInfo memory
protected AdvancedLocomotion body
protected Logger log
protected Senses senses
| Constructor Detail |
|---|
public MartinRunner(UDKBot bot,
AgentInfo agentInfo,
AdvancedLocomotion locomotion,
Logger log)
bot - Agent's bot.memory - Loque memory.| Method Detail |
|---|
public void reset()
reset in interface IUDKPathRunner
public boolean runToLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location firstLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Location secondLocation,
cz.cuni.amis.pogamut.base3d.worldview.object.Location focus,
NavPointNeighbourLink navPointsLink,
boolean reachable)
IUDKPathRunnerThe 'secondLocation' is the location that will most likely be pursued next.
runToLocation in interface IUDKPathRunnerfirstLocation - where the bot should run tosecondLocation - where the bot will the most likely continue its runfocus - where the bot should be looking while runningnavPointsLink - if we are traveling between two NavPoints connected by a link, we will receive the link with movement information here
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||