Class ClearChemicalsTask

    • Field Detail

      • PROPERTY_TYPENAME

        public static final java.lang.String PROPERTY_TYPENAME
        The task name.
        See Also:
        Constant Field Values
      • PROPERTY_DISASTER

        public static final java.lang.String PROPERTY_DISASTER
        The disaster property.
        See Also:
        Constant Field Values
      • PROPERTY_CLEARED

        public static final java.lang.String PROPERTY_CLEARED
        The cleared property (of the space object).
        See Also:
        Constant Field Values
    • Constructor Detail

      • ClearChemicalsTask

        public ClearChemicalsTask()
    • Method Detail

      • execute

        public void execute​(IEnvironmentSpace space,
                            ISpaceObject obj,
                            long progress,
                            IClockService clock)
        Executes the task.
        Specified by:
        execute in interface IObjectTask
        Overrides:
        execute in class AbstractTask
        Parameters:
        space - The environment in which the task is executing.
        obj - The object that is executing the task.
        progress - The time that has passed according to the environment executor.
        clock - The clock service.