private void AssignTask(Vector3 position)
    {
        EAntTasks task;

        // Choose task to assing
        if (pheromoneType == EPheromoneTypes.Food)
        {
            task = EAntTasks.HarvestFood;
        }
        else if (pheromoneType == EPheromoneTypes.Attack)
        {
            task = EAntTasks.Attack;
        }
        else
        {
            return;
        }

        Collider[] targetedColliders = Physics.OverlapSphere(position, 0.5f, agentLayerMask);

        foreach (Collider collider in targetedColliders)
        {
            AgentStates antStates = collider.GetComponent <AgentStates>();

            if (antStates)
            {
                antStates.SetTask(task);
            }
        }
    }