Beispiel #1
0
        public CNS(ICreature cr)
        {
            myCr = cr;

              //формировать секции
              int seCount = cr.SectionsCount();
              for (int seIndex = 0; seIndex < seCount; ++seIndex)
              {
            ISection sec = cr.GetSection(seIndex);
            Section section = new Section(sec, this);
            sections.Add(section);
              }

              reactAlg = new ReactAlg(sections);
        }