Exemple #1
0
    /// <summary>
    /// Add the param 'objP' to _destroyedBuildsAnchors and clears the _peopleChecked list
    /// </summary>
    public void AddToDestroyBuildsQueue(List <Vector3> objP, string key)
    {
        _destroyBuildsQueue.AddToQueue(objP, key, "old");
        RestartPeopleChecked();
        buidingsWhenStartChecking = 0;

        PersonPot.Control.RoutesCache1.CheckQueuesNow();
    }
Exemple #2
0
    /// <summary>
    /// Add the param 'objP' to _newBuildsAnchors and clears the _peopleChecked list
    /// </summary>
    public void AddToNewBuildsQueue(List <Vector3> objP, string key)
    {
        if (key.Contains("Bridge"))
        {
            //Debug.Log("Called:"+key);
        }

        _newBuildsQueue.AddToQueue(objP, key, "new");
        RestartPeopleChecked();
        PersonPot.Control.RoutesCache1.CheckQueuesNow();
    }