Class CommanderAgent.ExtinguishFires

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ISpaceObject disaster
      The disaster.
      protected java.util.Collection<java.lang.Object> units
      The units.
    • Field Detail

      • units

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

      • ExtinguishFires

        public ExtinguishFires​(ISpaceObject disaster)
        Create a new ClearChemicals.
    • Method Detail

      • 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()