Exemplo n.º 1
0
 public BtPreconditionAnd(BTPrecondition lhs, BTPrecondition rhs, int uniqueKey)
     : base(lhs, rhs)
 {
     _uniqueKey = uniqueKey;
 }
Exemplo n.º 2
0
 public BTPreconditionNot(BTPrecondition lhs, int uniqueKey)
     : base(lhs)
 {
     _uniqueKey = uniqueKey;
 }
Exemplo n.º 3
0
 public BtPreconditionUnary(BTPrecondition lhs)
     : base(1)
 {
     AddChild(lhs);
 }
Exemplo n.º 4
0
 public BtPreconditionBinary(BTPrecondition lhs, BTPrecondition rhs)
     : base(2)
 {
     AddChild(lhs).AddChild(rhs);
 }
Exemplo n.º 5
0
 public BTAction SetPrecondition(BTPrecondition precondition)
 {
     _precondition = precondition;
     return(this);
 }