Example #1
0
 public TBTAction SetPrecondition(TBTPrecondition precondition)
 {
     _precondition = precondition;
     return(this);
 }
Example #2
0
 public TBTPreconditionOR(TBTPrecondition lhs, TBTPrecondition rhs)
     : base(lhs, rhs)
 {
 }
Example #3
0
 public TBTPreconditionBinary(TBTPrecondition lhs, TBTPrecondition rhs)
     : base(2)
 {
     AddChild(lhs).AddChild(rhs);
 }
Example #4
0
 public TBTPreconditionNOT(TBTPrecondition lhs)
     : base(lhs)
 {
 }
Example #5
0
 public TBTPreconditionUnary(TBTPrecondition lhs)
     : base(1)
 {
     AddChild(lhs);
 }