Class CleanerAgent.MaintainBatteryLoaded
- java.lang.Object
-
- jadex.bdiv3.examples.cleanerworld.cleaner.CleanerAgent.MaintainBatteryLoaded
-
- Enclosing class:
- CleanerAgent
public class CleanerAgent.MaintainBatteryLoaded extends java.lang.Object
Goal for keeping the battery loaded.
-
-
Constructor Summary
Constructors Constructor Description MaintainBatteryLoaded()
-
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.
-