Example #1
0
        public void HReverse(FigureList figures)
        {
            if (Figures.Any(f => f is Game.PBBall))
            {
                figures.ForEach(f => f.BallHReverse(GetBallPoint()));
            }
            else
            {
                figures.ForEach(f => f.HReverse());
            }

            Figures.UpdateVisual();
        }
Example #2
0
 public void Add(FigureList figures, bool record)
 {
     if (record)
     {
         using (Transaction.Create(ActionManager, true))
         {
             figures.ForEach(Add);
         }
     }
     else
     {
         figures.ForEach(AddWithoutRecord);
     }
 }
Example #3
0
 public void Add(FigureList figures)
 {
     using (Transaction.Create(ActionManager, true))
     {
         figures.ForEach(Add);
     }
 }
Example #4
0
 public void VReverse(FigureList figures)
 {
     figures.ForEach(f => f.VReverse());
     Figures.UpdateVisual();
 }