Class CleanerAgent.MaintainBatteryLoaded
- java.lang.Object
-
- jadex.bdiv3.examples.cleanerworld.cleaner.CleanerAgent.MaintainBatteryLoaded
-
- Enclosing class:
- CleanerAgent
public class CleanerAgent.MaintainBatteryLoaded extends java.lang.ObjectGoal for keeping the battery loaded.
-
-
Constructor Summary
Constructors Constructor Description MaintainBatteryLoaded()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckMaintain()When the chargestate is below 0.2 the cleaner will activate this goal.booleancheckTarget()The target condition determines when the goal goes back to idle.
-