adoptChild method
- @override
override
Mark the given node as being a child of this node.
Subclasses should call this function when they acquire a new child.
Implementation
@override
void adoptChild(AbstractNode child) {
markNeedsAddToScene();
super.adoptChild(child);
}