Class FireBrigadeAgent.ClearChemicals
- java.lang.Object
- 
- jadex.bdiv3.examples.disastermanagement.firebrigade.FireBrigadeAgent.ClearChemicals
 
- 
- Enclosing class:
- FireBrigadeAgent
 
 public class FireBrigadeAgent.ClearChemicals extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected ISpaceObjectdisasterThe disaster.
 - 
Constructor SummaryConstructors Constructor Description ClearChemicals(ISpaceObject disaster)Create a new ExtinguishFire.ClearChemicals(java.lang.Object disasterid)Create a new ExtinguishFire.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckDrop(FireBrigadeAgent ag, IGoal goal)Drop if this goal is only option and there are others.booleancheckTarget()ISpaceObjectgetDisaster()Get the disaster.
 
- 
- 
- 
Field Detail- 
disasterprotected ISpaceObject disaster The disaster.
 
- 
 - 
Constructor Detail- 
ClearChemicalspublic ClearChemicals(ISpaceObject disaster) Create a new ExtinguishFire.
 - 
ClearChemicalspublic ClearChemicals(java.lang.Object disasterid) Create a new ExtinguishFire.
 
- 
 - 
Method Detail- 
checkTargetpublic boolean checkTarget() 
 - 
checkDroppublic boolean checkDrop(FireBrigadeAgent ag, IGoal goal) Drop if this goal is only option and there are others.
 - 
getDisasterpublic ISpaceObject getDisaster() Get the disaster.- Returns:
- The disaster.
 
 
- 
 
-