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

			a.setAttribute(LOCATION, loc);

		}
Exemple #4
0
 public void moveObjectToAbsoluteLocation(Agent a, XYLocation loc)
 {
     a.setAttribute(LOCATION, loc);
 }