예제 #1
0
 private void PlayerFirstFields()
 {
     for (int i = 0; i < 4; i++)
     {
         NormalField next = new NormalField();
         if (i == 0)
         {
             firstLink.SetNext(next);
             previous = next;
         }
         else
         {
             previous.SetNext(next);
             previous = next;
         }
     }
 }
예제 #2
0
        private void ConstructNormalField()
        {
            previous.SetNext(firstSharedField);
            previous = firstSharedField;
            SplitField split = new SplitField();

            for (int i = 0; i < 6; i++)
            {
                NormalField next = new NormalField();
                previous.SetNext(next);
                previous = next;
            }

            previous.SetNext(split);
            previous = split;
        }