setAgentLocationAndTravelDistance() public method

public setAgentLocationAndTravelDistance ( IAgent a, String location, Double travelDistance ) : void
a IAgent
location String
travelDistance Double
return void
示例#1
0
 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);
 }