Пример #1
0
 public void addAgent(Agent a, string attributeName, Object attributeValue)
 {
     if (!(alreadyContains(a)))
     {
         a.setAttribute(attributeName, attributeValue);
         agents.Add(a);
     }
 }
Пример #2
0
		public void addAgent(Agent a, string attributeName, Object attributeValue) 
		{
			if (!(alreadyContains(a))) 
			{
				a.setAttribute(attributeName, attributeValue);
				agents.Add(a);
			}
		}
Пример #3
0
		public void moveObjectToAbsoluteLocation(Agent a, XYLocation loc) 
		{

			a.setAttribute(LOCATION, loc);

		}
Пример #4
0
 public void moveObjectToAbsoluteLocation(Agent a, XYLocation loc)
 {
     a.setAttribute(LOCATION, loc);
 }