Class CommanderAgent.ClearChemicals
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.commander.CommanderAgent.ClearChemicals
-
- All Implemented Interfaces:
IForcesGoal
- Enclosing class:
- CommanderAgent
public class CommanderAgent.ClearChemicals extends java.lang.Object implements IForcesGoal
-
-
Field Summary
Fields Modifier and Type Field Description protected ISpaceObject
disaster
The disaster.protected java.util.Collection<java.lang.Object>
units
The units.
-
Constructor Summary
Constructors Constructor Description ClearChemicals(ISpaceObject disaster)
Create a new ClearChemicals.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkTarget()
ISpaceObject
getDisaster()
Get the disaster.java.util.Collection<java.lang.Object>
getUnits()
Get the units.protected boolean
inhibitAchieveCleanUp(CommanderAgent.TreatVictims other)
Inhibit other achieve cleanup goals that are farer away from the cleaner.
-
-
-
Field Detail
-
disaster
protected ISpaceObject disaster
The disaster.
-
units
protected java.util.Collection<java.lang.Object> units
The units.
-
-
Constructor Detail
-
ClearChemicals
public ClearChemicals(ISpaceObject disaster)
Create a new ClearChemicals.
-
-
Method Detail
-
getDisaster
public ISpaceObject getDisaster()
Get the disaster.- Specified by:
getDisaster
in interfaceIForcesGoal
- Returns:
- The disaster.
-
getUnits
public java.util.Collection<java.lang.Object> getUnits()
Get the units.- Specified by:
getUnits
in interfaceIForcesGoal
- Returns:
- The units.
-
checkTarget
public boolean checkTarget()
-
inhibitAchieveCleanUp
protected boolean inhibitAchieveCleanUp(CommanderAgent.TreatVictims other)
Inhibit other achieve cleanup goals that are farer away from the cleaner.
-
-