Exemple #1
0
 public void removeChild(DrawableBase obj)
 {
         DrawableList[obj.layer].Remove(obj);
 }
Exemple #2
0
 void setAutoRemoveFunc()
 {
     DrawableBase.setAutoRemoveFunc(removeChild);
 }
Exemple #3
0
 public void addChild(DrawableBase obj)
 {
     if (DrawableList.ContainsKey(obj.layer) == false) { DrawableList.Add(obj.layer, new List<DrawableBase>()); }
     DrawableList[obj.layer].Add(obj);
 }
Exemple #4
0
 void setAutoAddFunc()
 {
     DrawableBase.setAutoAddFunc(addChild);
 }