Class AmbulanceAgent.TreatVictims
- java.lang.Object
-
- jadex.bdiv3.examples.disastermanagement.ambulance.AmbulanceAgent.TreatVictims
-
- Enclosing class:
- AmbulanceAgent
public class AmbulanceAgent.TreatVictims extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ISpaceObjectdisasterThe disaster.
-
Constructor Summary
Constructors Constructor Description TreatVictims(java.lang.Object disasterid)Create a new TreatVictims.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckDrop(AmbulanceAgent ag, IGoal goal)Drop if this goal is only option and there are others.ISpaceObjectgetDisaster()Get the disaster.
-
-
-
Field Detail
-
disaster
protected ISpaceObject disaster
The disaster.
-
-
Method Detail
-
getDisaster
public ISpaceObject getDisaster()
Get the disaster.- Returns:
- The disaster.
-
checkDrop
public boolean checkDrop(AmbulanceAgent ag, IGoal goal)
Drop if this goal is only option and there are others.
-
-