Example #1
0
 public void AddThickZone(BankZoneThick _zone)
 {
     lock (cs)
     {
         if (_zone == null)
         {
             return;
         }
         if (MThick == null)
         {
             return;
         }
         MThick.Add(_zone);
     }
 }
Example #2
0
 public void Add(BankZoneThick _zone)
 {
     if (IsComplete())
     {
         return;
     }
     if (!isStarted)
     {
         return;
     }
     MZone.Add(_zone);
     if (_zone.last)
     {
         GotZones = true;
     }
 }
Example #3
0
 public BankZoneThick GetNextZoneThick()
 {
     lock (cs)
     {
         if (MThick == null)
         {
             return(null);
         }
         BankZoneThick z = MThick.GetNextZone();
         if (z != null)
         {
             MZR.confirmed = GetConfirmed();
             pr("!!!GetNextThick: " + z.ToString());
         }
         return(z);
     }
 }
Example #4
0
        public BankZoneThick GetNextZone()
        {
            if (IsComplete())
            {
                return(null);
            }
            if (!isStarted)
            {
                return(null);
            }
            if (GaveZones >= MZone.Count)
            {
                return(null);
            }
            BankZoneThick ret = MZone[GaveZones];

            GaveZones++;
            if (ret.last)
            {
                complete = true;
            }
            return(ret);
        }