AIMA.Core.Environment.Map.MapEnvironment.addAgent C# (CSharp) Метод

addAgent() публичный Метод

public addAgent ( IAgent a, System startLocation ) : void
a IAgent
startLocation System
Результат void
    public void addAgent(IAgent a, System.String startLocation)
    {
		// Ensure the agent state information is tracked before
		// adding to super, as super will notify the registered
		// EnvironmentViews that is was added.
		state.setAgentLocationAndTravelDistance(a, startLocation, 0.0);
		base.addAgent(a);
	}