Class FireBrigadePlan


  • public class FireBrigadePlan
    extends Plan
    Move to fires and extinguish them.
    • Constructor Detail

      • FireBrigadePlan

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