Class GarbageCollectorAgent
- java.lang.Object
-
- jadex.bdiv3.examples.garbagecollector.BaseAgent
-
- jadex.bdiv3.examples.garbagecollector.GarbageCollectorAgent
-
public class GarbageCollectorAgent extends BaseAgent
Garbage collector agent.-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGarbageCollectorAgent.CheckGoal for running around on the grid and searching for garbage.classGarbageCollectorAgent.GoGoal for going to a specified position.classGarbageCollectorAgent.PickThe goal for picking up waste.static classGarbageCollectorAgent.TakeGoal for picking up a piece of waste, bringing it to some burner and going back.
-
Constructor Summary
Constructors Constructor Description GarbageCollectorAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()The agent body.protected booleanhasGarbage()protected booleanisDirty()-
Methods inherited from class jadex.bdiv3.examples.garbagecollector.BaseAgent
getAgent, getEnvironment, getMyself, getPosition
-
-
-