Example #1
0
 internal void MoveAgent(AgentState agentState, string destination)
 {
     Remove(agentState.Name);
     _container.MoveAgent(agentState, destination);
 }
Example #2
0
 /// <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)
 {
 }
Example #3
0
 internal abstract void AgentHasArrived(AgentState agentState);
Example #4
0
        internal void AgentHasArrived(string agentState)
        {
            AgentState state = ContainerMessage.Deserialize(agentState) as AgentState;

            _environment.AgentHasArrived(state);
        }