addTo method

void addTo (
  1. DisplayObjectParent<DisplayObject> parent
)
inherited

Add this display object to the specified parent.

Implementation

void addTo(DisplayObjectParent parent) {
  parent.addChild(this);
}