예제 #1
0
 public void removeChild(Surface child) {
   if (children.remove(child)) {
     child.setParent(null);
   }
 }
예제 #2
0
 public void addChild(Surface child) {
   children.add(child);
   child.setParent(this);
 }