Example #1
0
File: Scene.cs Project: MrYD/Xmas
 public void removeChild(DrawableBase obj)
 {
         DrawableList[obj.layer].Remove(obj);
 }
Example #2
0
File: Scene.cs Project: MrYD/Xmas
 void setAutoRemoveFunc()
 {
     DrawableBase.setAutoRemoveFunc(removeChild);
 }
Example #3
0
File: Scene.cs Project: MrYD/Xmas
 public void addChild(DrawableBase obj)
 {
     if (DrawableList.ContainsKey(obj.layer) == false) { DrawableList.Add(obj.layer, new List<DrawableBase>()); }
     DrawableList[obj.layer].Add(obj);
 }
Example #4
0
File: Scene.cs Project: MrYD/Xmas
 void setAutoAddFunc()
 {
     DrawableBase.setAutoAddFunc(addChild);
 }