예제 #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);
 }