Пример #1
0
        public void GenerateSingleSide()
        {
            switch (NextToGenerate)
            {
            case 1:
                Behave.Generate(PositiveGenrate, PositiveArea);
                break;

            case -1:
                Behave.Generate(NegativeGenrate, NegativeArea);
                break;
            }
            NextToGenerate *= -1;
        }
Пример #2
0
 public void GenerateBothSide()
 {
     Behave.Generate(PositiveGenrate, PositiveArea);
     Behave.Generate(NegativeGenrate, NegativeArea);
 }