public ActionNode(ActionNodeDelegate argAction) : base()
 {
     action = argAction;
 }
示例#2
0
 public ActionNode(ActionNodeDelegate action)
 {
     nodeAction = action;
 }
示例#3
0
 /*Because this node contains no logic itself, the logic must be passed in the form of a delegate
  * As the signature states, the action needs to return a NodeStates enum */
 public ActionNode(ActionNodeDelegate action)
 {
     m_action = action;
 }
示例#4
0
 private ActionNodeDelegate Action;               //The delegate that is called to evaluate this node
 public ActionNode(ActionNodeDelegate Action)
 {
     this.Action = Action;
 }                                                                       //Action Node logic must be passed in the form of a delegate
示例#5
0
 /* Because this node contains no logic itself,
  * the logic must be passed in the form of
  * a delegate. As the signature states, the action
  * needs to return a NodeStates enum */
 public ActionNode(ActionNodeDelegate action, string name) : base(name)
 {
     m_action = action;
 }
示例#6
0
 public BCondition(ActionNodeDelegate action)
 {
     this.action = action;
 }
示例#7
0
 public RepeaterUntil(BaseNode argChild, ActionNodeDelegate condition) : base()
 {
     child             = argChild;
     terminalCondition = condition;
 }
示例#8
0
 public ActionNode(ActionNodeDelegate nodeDelegate)
 {
     this.nodeDelegate = nodeDelegate;
 }
示例#9
0
 public BTActionNode(ActionNodeDelegate action)
 {
     _action = action;
 }
示例#10
0
 /* Because this node contains no logic itself,
  * the logic must be passed in in the form of
  * a delegate. As the signature states, the action
  * needs to return a NodeStates enum */
 public ActionNode(ActionNodeDelegate action, string name)
 {
     m_action  = action;
     this.name = name;
 }
示例#11
0
 public ActionNode(ActionNodeDelegate action)
 {
     actionDelegate = action;
 }
示例#12
0
/* Because this node contains no logic itself, the logic must be passed in in the form of
 * a delegate. As the signature states, the action needs to return a NodeState enum */
        public ActionNode(ActionNodeDelegate action)
        {
            this.Action = action;
        }
示例#13
0
 public BTActionNode(ActionNodeDelegate _action)
 {
     action = _action;
 }
 /* Because this node contains no logic itself,
  * the logic must be passed in in the form of
  * a delegate. As the signature states, the action
  * needs to return a NodeStates enum */
 public CandiceBehaviorAction(ActionNodeDelegate action, CandiceBehaviorNode rootNode)
 {
     this.rootNode = rootNode;
     m_action      = action;
 }
示例#15
0
 public ActionNode(ActionNodeDelegate action, GameObject ai_)
 {
     m_action = action;
     ai       = ai_;
 }
示例#16
0
 public NodeAction(ActionNodeDelegate action)
 {
     _action = action;
 }