Interface AgentRoutineRunFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AgentRoutineRunFunction
Functional interface for defining the behaviour of a functional agent routine.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(AgentContext context)
    Runs the routine's behaviour.
  • Method Details

    • run

      void run(AgentContext context)
      Runs the routine's behaviour.
      Parameters:
      context - the context the routine can use in its behaviour