Class CyclicBehaviour

    • Constructor Detail

      • CyclicBehaviour

        public CyclicBehaviour()
        Default constructor. It does not set the owner agent.
      • CyclicBehaviour

        public CyclicBehaviour​(Agent a)
        This constructor sets the owner agent for this CyclicBehaviour.
        Parameters:
        a - The agent this behaviour must belong to.
    • Method Detail

      • done

        public final boolean done()
        This is the method that makes CyclicBehaviour cyclic, because it always returns false.
        Specified by:
        done in class Behaviour
        Returns:
        Always false.