예제 #1
0
 public void deRegisterComp(Componates.Shape2DComp comp)
 {
     if (Shapes.Contains(comp))
     {
         Shapes.Remove(comp);
     }
 }
예제 #2
0
 public void RegisterComp(Componates.Shape2DComp comp)
 {
     if (!Shapes.Contains(comp))
     {
         Shapes.Add(comp);
     }
 }