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(); }
public void Add(FigureList figures, bool record) { if (record) { using (Transaction.Create(ActionManager, true)) { figures.ForEach(Add); } } else { figures.ForEach(AddWithoutRecord); } }
public void Add(FigureList figures) { using (Transaction.Create(ActionManager, true)) { figures.ForEach(Add); } }
public void VReverse(FigureList figures) { figures.ForEach(f => f.VReverse()); Figures.UpdateVisual(); }