setAgent method

void setAgent(
  1. AgentFactory _agent
)

Implementation

void setAgent(AgentFactory _agent) {
  agent = _agent;
}