예제 #1
0
 //AddChild
 public void AddChild(BaseNode node)
 {
     _children.Add(node);
 }
예제 #2
0
 /**
  * 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
 }
예제 #3
0
 /**
  * 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);
 }
예제 #4
0
 /**
  * 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
 }
예제 #5
0
 /**
  * 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
 }
예제 #6
0
 public void SetChild(BaseNode node)
 {
     _child = node;
 }