internal void MoveAgent(AgentState agentState, string destination) { Remove(agentState.Name); _container.MoveAgent(agentState, destination); }
/// <summary> /// Imports the state of the agent, after it has moved from another container. /// </summary> /// <param name="state">The state of the agent</param> public virtual void LoadState(AgentState state) { }
internal abstract void AgentHasArrived(AgentState agentState);
internal void AgentHasArrived(string agentState) { AgentState state = ContainerMessage.Deserialize(agentState) as AgentState; _environment.AgentHasArrived(state); }