Class TreasureHunterB1BDI
- java.lang.Object
- 
- jadex.bdiv3.quickstart.treasureisland.TreasureHunterB1BDI
 
- 
 public class TreasureHunterB1BDI extends java.lang.ObjectA treasure hunter that picks up the treasures one by one by creating a goal and thus a plan for each treasure.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classTreasureHunterB1BDI.CollectTreasureGoalA goal to collect a given treasure.
 - 
Field SummaryFields Modifier and Type Field Description protected TreasureHunterEnvironmentenvThe treasure hunter world object.
 - 
Constructor SummaryConstructors Constructor Description TreasureHunterB1BDI()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody(IBDIAgentFeature agent)Agent body is implemented as a loop that runs until no more treasures available.voidcollectTreasurePlan(TreasureHunterB1BDI.CollectTreasureGoal goal)A plan to collect a treasure.
 
- 
- 
- 
Field Detail- 
envprotected TreasureHunterEnvironment env The treasure hunter world object.
 
- 
 - 
Method Detail- 
collectTreasurePlanpublic void collectTreasurePlan(TreasureHunterB1BDI.CollectTreasureGoal goal) A plan to collect a treasure.
 - 
bodypublic void body(IBDIAgentFeature agent) Agent body is implemented as a loop that runs until no more treasures available.- Parameters:
- agent- The agent parameter is optional and allows to access bdi agent functionality.
 
 
- 
 
-