Class CleanerAgent.MaintainBatteryLoaded

  • Enclosing class:
    CleanerAgent

    public class CleanerAgent.MaintainBatteryLoaded
    extends java.lang.Object
    Goal for keeping the battery loaded.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkMaintain()
      When the chargestate is below 0.2 the cleaner will activate this goal.
      boolean checkTarget()
      The target condition determines when the goal goes back to idle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MaintainBatteryLoaded

        public MaintainBatteryLoaded()
    • Method Detail

      • checkMaintain

        public boolean checkMaintain()
        When the chargestate is below 0.2 the cleaner will activate this goal.
      • checkTarget

        public boolean checkTarget()
        The target condition determines when the goal goes back to idle.