Class CommanderAgent.ClearChemicals

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected jadex.extension.envsupport.environment.ISpaceObject disaster
      The disaster.
      protected java.util.Collection<java.lang.Object> units
      The units.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClearChemicals​(jadex.extension.envsupport.environment.ISpaceObject disaster)
      Create a new ClearChemicals.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkTarget()  
      jadex.extension.envsupport.environment.ISpaceObject getDisaster()
      Get the disaster.
      java.util.Collection<java.lang.Object> getUnits()
      Get the units.
      protected boolean inhibitAchieveCleanUp​(CommanderAgent.TreatVictims other)
      Inhibit other achieve cleanup goals that are farer away from the cleaner.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • disaster

        protected jadex.extension.envsupport.environment.ISpaceObject disaster
        The disaster.
      • units

        protected java.util.Collection<java.lang.Object> units
        The units.
    • Constructor Detail

      • ClearChemicals

        public ClearChemicals​(jadex.extension.envsupport.environment.ISpaceObject disaster)
        Create a new ClearChemicals.
    • Method Detail

      • getDisaster

        public jadex.extension.envsupport.environment.ISpaceObject getDisaster()
        Get the disaster.
        Specified by:
        getDisaster in interface IForcesGoal
        Returns:
        The disaster.
      • getUnits

        public java.util.Collection<java.lang.Object> getUnits()
        Get the units.
        Specified by:
        getUnits in interface IForcesGoal
        Returns:
        The units.
      • checkTarget

        public boolean checkTarget()
      • inhibitAchieveCleanUp

        protected boolean inhibitAchieveCleanUp​(CommanderAgent.TreatVictims other)
        Inhibit other achieve cleanup goals that are farer away from the cleaner.