public class FireBrigadeBDI.ExtinguishFire
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.extension.envsupport.environment.ISpaceObject |
disaster
The disaster.
|
Constructor and Description |
---|
ExtinguishFire(jadex.extension.envsupport.environment.ISpaceObject disaster)
Create a new ExtinguishFire.
|
ExtinguishFire(java.lang.Object disasterid)
Create a new ExtinguishFire.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkDrop(FireBrigadeBDI ag,
jadex.bdiv3.runtime.IGoal goal)
Drop if this goal is only option and there are others.
|
boolean |
checkTarget() |
jadex.extension.envsupport.environment.ISpaceObject |
getDisaster()
Get the disaster.
|
protected jadex.extension.envsupport.environment.ISpaceObject disaster
public ExtinguishFire(jadex.extension.envsupport.environment.ISpaceObject disaster)
public ExtinguishFire(java.lang.Object disasterid)
public boolean checkTarget()
public boolean checkDrop(FireBrigadeBDI ag, jadex.bdiv3.runtime.IGoal goal)
public jadex.extension.envsupport.environment.ISpaceObject getDisaster()