Class FireBrigadeAgent.ClearChemicals

  • Enclosing class:
    FireBrigadeAgent

    public class FireBrigadeAgent.ClearChemicals
    extends java.lang.Object
    • Field Detail

    • Constructor Detail

      • ClearChemicals

        public ClearChemicals​(ISpaceObject disaster)
        Create a new ExtinguishFire.
      • ClearChemicals

        public ClearChemicals​(java.lang.Object disasterid)
        Create a new ExtinguishFire.
    • Method Detail

      • checkTarget

        public boolean checkTarget()
      • checkDrop

        public boolean checkDrop​(FireBrigadeAgent ag,
                                 IGoal goal)
        Drop if this goal is only option and there are others.
      • getDisaster

        public ISpaceObject getDisaster()
        Get the disaster.
        Returns:
        The disaster.