public class TreasureHunterB1BDI
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
TreasureHunterB1BDI.CollectTreasureGoal
A goal to collect a given treasure.
|
Modifier and Type | Field and Description |
---|---|
protected TreasureHunterEnvironment |
env
The treasure hunter world object.
|
Constructor and Description |
---|
TreasureHunterB1BDI() |
Modifier and Type | Method and Description |
---|---|
void |
body(jadex.bdiv3.features.IBDIAgentFeature agent)
Agent body is implemented as a loop that runs until no more treasures available.
|
void |
collectTreasurePlan(TreasureHunterB1BDI.CollectTreasureGoal goal)
A plan to collect a treasure.
|
protected TreasureHunterEnvironment env
public void collectTreasurePlan(TreasureHunterB1BDI.CollectTreasureGoal goal)
public void body(jadex.bdiv3.features.IBDIAgentFeature agent)
agent
- The agent parameter is optional and allows to access bdi agent functionality.