Beispiel #1
0
 public void PushNextChip(ChipBehaviour c)
 {
     if (nexts == null)
     {
         nexts = new List <ChipBehaviour>();
     }
     nexts.Add(c);
 }
Beispiel #2
0
        public bool IsNextChip(ChipBehaviour c)
        {
            foreach (var next in nexts)
            {
                if (c == next)
                {
                    return(true);
                }
            }

            return(false);
        }