Example #1
0
 public BehaviourPreconditionOr(BehaviourPrecondition lhs, BehaviourPrecondition rhs)
     : base(lhs, rhs)
 {
 }
Example #2
0
 public BehaviourPreconditionNot(BehaviourPrecondition lhs)
     : base(lhs)
 {
 }
Example #3
0
 public BehaviourPreconditionUnary(BehaviourPrecondition lhs)
     : base(1)
 {
     AddChild(lhs);
 }
Example #4
0
 public BehaviourPreconditionBinary(BehaviourPrecondition lhs, BehaviourPrecondition rhs)
     : base(2)
 {
     AddChild(lhs).AddChild(rhs);
 }
Example #5
0
 public BehaviourAction SetPrecondition(BehaviourPrecondition precondition)
 {
     _precondition = precondition;
     return(this);
 }