示例#1
0
 public void RemoveAgent(MetsAgent agent)
 {
     if (agentList.Contains(agent))
     {
         agentList.Remove(agent);
     }
 }
示例#2
0
 public void AddAgent(MetsAgent agent)
 {
     if (!agentList.Contains(agent))
     {
         agentList.Add(agent);
     }
 }
示例#3
0
 public void RemoveAgent(MetsAgent agent) { if (agentList.Contains(agent)) agentList.Remove(agent); }
示例#4
0
 public void AddAgent(MetsAgent agent) { if(!agentList.Contains(agent)) agentList.Add(agent); }