Beispiel #1
0
 public void RemoveFigure(IFigure removeItem)
 {
     WorldDispatcher.Invoke(() =>
     {
         if (!removeItem.Body.IsDisposed)
         {
             removeItem.Clear();
         }
     });
     lock (Figures) Figures.Remove(removeItem);
 }