//AddChild public void AddChild(BaseNode node) { _children.Add(node); }
/** * Callback when exiting a node (called by BaseNode). * * @method _exitNode * @param {Object} node The node that called this method. * @protected **/ public void ExitNode(BaseNode node) { // TODO: call debug here }
/** * Callback when closing a node (called by BaseNode). * * @method _closeNode * @param {Object} node The node that called this method. * @protected **/ public void CloseNode(BaseNode node) { // TODO: call debug here //this._openNodes.Remove(node); }
/** * Callback when ticking a node (called by BaseNode). * * @method _tickNode * @param {Object} node The node that called this method. * @protected **/ public void TickNode(BaseNode node) { // TODO: call debug here }
/** * Callback when opening a node (called by BaseNode). * * @method _openNode * @param {Object} node The node that called this method. * @protected **/ public void OpenNode(BaseNode node) { // TODO: call debug here }
public void SetChild(BaseNode node) { _child = node; }