public void deRegisterComp(Componates.Shape2DComp comp) { if (Shapes.Contains(comp)) { Shapes.Remove(comp); } }
public void RegisterComp(Componates.Shape2DComp comp) { if (!Shapes.Contains(comp)) { Shapes.Add(comp); } }