示例#1
0
 public BTPreconditionOR(BTPrecondition lhs, BTPrecondition rhs)
     : base(lhs, rhs)
 {
 }
示例#2
0
 public BTPreconditionNOT(BTPrecondition lhs)
     : base(lhs)
 {
 }
示例#3
0
 public BTPreconditonUnary(BTPrecondition lhs)
     : base(1)
 {
     AddChild(lhs);
 }
示例#4
0
 public BTPreconditionBinary(BTPrecondition lhs, BTPrecondition rhs)
     : base(2)
 {
     AddChild(lhs).AddChild(rhs);
 }
示例#5
0
 public BTAction SetPrecondition(BTPrecondition condition)
 {
     Precondition = condition;
     return(this);
 }