private void InitializeAgents()
 {
     for (int i = 0; i < nAgentsInGame; i++)
     {
         Vector3    worldPos = mapController.GetWorldFromCellPos(spawnPositions[i]);
         GameObject agent    = null;
         nKillsPerAgent[i] = 0;
         if (agents[i] != null)
         {
             agent = agents[i].gameObject;
             agent.transform.position = worldPos;
             agent.SetActive(true);
         }
         else
         {
             agent = Instantiate(prefabs[i], worldPos, Quaternion.identity, this.transform.parent);
         }
         mapController.AddNewObjectToMap(EnviromenentType.PLAYER, spawnPositions[i]);
         agent.GetComponent <AgentController>().SetConfigs(i, spawnPositions[i], this);
         agents[i] = agent.GetComponent <AgentController>();
     }
 }