Class LifecycleBehavior

java.lang.Object
org.baseagent.behaviors.LifecycleBehavior
All Implemented Interfaces:
Behavior
Direct Known Subclasses:
TakeAndDropBehavior, WalkToBehavior

public abstract class LifecycleBehavior extends Object implements Behavior
  • Constructor Details

    • LifecycleBehavior

      public LifecycleBehavior()
  • Method Details

    • startBehavior

      public void startBehavior(Agent agent)
    • pauseBehavior

      public void pauseBehavior(Agent agent)
    • resumeBehavior

      public void resumeBehavior(Agent agent)
    • endBehavior

      public void endBehavior(Agent agent)
    • isStarted

      public boolean isStarted()
    • isEnded

      public boolean isEnded()
    • isPaused

      public boolean isPaused()
    • restartBehavior

      public void restartBehavior(Agent agent)