Example #1
0
 public void UpdateFigure(FigureProxy figureProxy)
 {
     if (_figureProxies.IndexOf(figureProxy) != -1)
     {
         Updated?.Invoke(this, figureProxy);
     }
 }
Example #2
0
 public void RemoveFigure(FigureProxy figureProxy)
 {
     _figureProxies.Remove(figureProxy);
     Removed?.Invoke(this, figureProxy);
 }
Example #3
0
 public void AddFigure(FigureProxy figureProxy)
 {
     _figureProxies.Add(figureProxy);
     Added?.Invoke(this, figureProxy);
 }