public class MartinRunner extends Object implements IUDKPathRunner
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
MartinRunner(UDKBot bot,
AgentInfo agentInfo,
AdvancedLocomotion locomotion,
Logger log)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
reset()
Initializes direct running to the given destination.
|
boolean |
runToLocation(Location firstLocation,
Location secondLocation,
Location focus,
NavPointNeighbourLink navPointsLink,
boolean reachable)
Called iteratively to reach the 'firstLocation'.
|
protected UDKBot bot
protected AgentInfo memory
protected AdvancedLocomotion body
protected Logger log
protected Senses senses
public MartinRunner(UDKBot bot, AgentInfo agentInfo, AdvancedLocomotion locomotion, Logger log)
bot - Agent's bot.memory - Loque memory.public void reset()
reset in interface IUDKPathRunnerpublic boolean runToLocation(Location firstLocation, Location secondLocation, 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 hereCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.