Class HandleDisasterPlan


  • public class HandleDisasterPlan
    extends Plan
    Handle a disaster by assigning units.
    • Constructor Detail

      • HandleDisasterPlan

        public HandleDisasterPlan()
    • Method Detail

      • body

        public void body()
        The body method is called on the instantiated plan instance from the scheduler.
        Specified by:
        body in class Plan
      • aborted

        public void aborted()
        Description copied from class: Plan
        The plan was aborted (because of conditional goal success or termination from outside).
        Overrides:
        aborted in class Plan
      • failed

        public void failed()
        Description copied from class: Plan
        The failed method is called on plan failure/abort.
        Overrides:
        failed in class Plan