public void RemoveAgent(MetsAgent agent) { if (agentList.Contains(agent)) { agentList.Remove(agent); } }
public void AddAgent(MetsAgent agent) { if (!agentList.Contains(agent)) { agentList.Add(agent); } }
public void RemoveAgent(MetsAgent agent) { if (agentList.Contains(agent)) agentList.Remove(agent); }
public void AddAgent(MetsAgent agent) { if(!agentList.Contains(agent)) agentList.Add(agent); }