Class ExtinguishFirePlan


  • public class ExtinguishFirePlan
    extends Plan
    Move to fire and extinguish it.
    • Constructor Detail

      • ExtinguishFirePlan

        public ExtinguishFirePlan()
    • Method Detail

      • body

        public void body()
        The plan body.
        Specified by:
        body in class Plan
      • failed

        public void failed()
        Called when a plan fails.
        Overrides:
        failed in class Plan