Beispiel #1
0
 /// <summary>
 /// Removes this element in the collison layer.
 /// </summary>
 public void RemoveInLayer()
 {
     if (parentLayer != null)
     {
         parentLayer.RemoveCollide(this);
         parentLayer = null;
     }
 }