Example #1
0
    /// <summary>
    /// Called when DoneReRoute() is called
    /// </summary>
    private void TransferFirstInWaitingListToOnSystemNow()
    {
        if (WaitList.Count == 0)
        {
            return;
        }

        var t = WaitList[0];

        WaitList.RemoveAt(0);
        OnSystemNow1.Add(t);
    }
Example #2
0
    /// <summary>
    /// Called when DoneReRoute() is called
    /// </summary>
    private void TransferFirstInWaitingListToOnSystemNow()
    {
        if (WaitList.Count == 0)
        {
            return;
        }

        var t = WaitList[0];

        WaitList.RemoveAt(0);
        OnSystemNow1.Add(t);

        //Debug.Log("transfer to System:"+t.Id);
    }