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 SummaryFields Modifier and Type Field Description protected ISpaceObjectdisasterThe disaster.
 - 
Constructor SummaryConstructors Constructor Description TreatVictims(java.lang.Object disasterid)Create a new TreatVictims.
 - 
Method SummaryAll 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- 
disasterprotected ISpaceObject disaster The disaster.
 
- 
 - 
Method Detail- 
getDisasterpublic ISpaceObject getDisaster() Get the disaster.- Returns:
- The disaster.
 
 - 
checkDroppublic boolean checkDrop(AmbulanceAgent ag, IGoal goal) Drop if this goal is only option and there are others.
 
- 
 
-