addChild

fun addChild(child: Node): Node

Sets the parent of the child to this Node.

Parameters

child

the child to add