Exemple #1
0
        public void AddAgentInBeliefs(KeyValuePair <AgentStateStatic, AgentStateDynamic> agent, AgentRole role)
        {
            BeliefsAboutAgent newAgent = new BeliefsAboutAgent(agent.Key, role, agent.Value.GetStatus(), agent.Value.GetMyLocation(),
                                                               agent.Value.GetObjectOfAngry());

            agentsInWorld.Add(newAgent);
        }
Exemple #2
0
 public void AddAgentInBeliefs(BeliefsAboutAgent agent)
 {
     agentsInWorld.Add(agent);
 }