#include "AgentSlotOfTestbench.h"

#include <stdio.h>

void AgentSlotOfTestbench::init_agentSlotOfTestbench() { agent = NULL; }

AgentSlotOfTestbench::AgentSlotOfTestbench() { init_agentSlotOfTestbench(); }

bool AgentSlotOfTestbench::set_agent(Agent *agent) {
  if (agent != NULL) {
    this->agent = agent;
    return true;
  }
  return false;
}

bool AgentSlotOfTestbench::del_agent() {
  if (agent != NULL) {
    agent = NULL;
    return true;
  }
  return false;
}

Agent *AgentSlotOfTestbench::get_agent() { return agent; }
