Class CommanderAgent.ExtinguishFires
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.commander.CommanderAgent.ExtinguishFires
-
- All Implemented Interfaces:
IForcesGoal
- Enclosing class:
- CommanderAgent
public class CommanderAgent.ExtinguishFires 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 ExtinguishFires(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.
-
-
-
Field Detail
-
disaster
protected ISpaceObject disaster
The disaster.
-
units
protected java.util.Collection<java.lang.Object> units
The units.
-
-
Constructor Detail
-
ExtinguishFires
public ExtinguishFires(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()
-
-