public class DoPlanDefendRoute extends Object
Constructor and Description |
---|
DoPlanDefendRoute(Collection<apltk.interpreter.data.LogicBelief> b,
Collection<apltk.interpreter.data.LogicGoal> g) |
Modifier and Type | Method and Description |
---|---|
eis.iilang.Action |
doIt(String destination,
SubsumptionAgent agent)
calculate a route to the enemies position
within the zone and return the first step
no goal list filled as enemy agent may move
|
Collection<apltk.interpreter.data.LogicBelief> |
getBeliefs() |
Collection<apltk.interpreter.data.LogicGoal> |
getGoals() |
public DoPlanDefendRoute(Collection<apltk.interpreter.data.LogicBelief> b, Collection<apltk.interpreter.data.LogicGoal> g)
public Collection<apltk.interpreter.data.LogicBelief> getBeliefs()
public Collection<apltk.interpreter.data.LogicGoal> getGoals()
public eis.iilang.Action doIt(String destination, SubsumptionAgent agent)
beliefs
- and goals
copy of SubsumptionAgent
position of enemy agenttodo*
Copyright © 2013. All Rights Reserved.