/// <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(); }
/// <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(); }