Пример #1
0
 public BehaviourAction SetPrecondition(BehaviourPrecondition precondition)
 {
     _precondition = precondition;
     return(this);
 }
Пример #2
0
 public BehaviourPreconditionXor(BehaviourPrecondition lhs, BehaviourPrecondition rhs)
     : base(lhs, rhs)
 {
 }
Пример #3
0
 public BehaviourPreconditionBinary(BehaviourPrecondition lhs, BehaviourPrecondition rhs)
     : base(2)
 {
     AddChild(lhs).AddChild(rhs);
 }
Пример #4
0
 public BehaviourPreconditionNot(BehaviourPrecondition lhs)
     : base(lhs)
 {
 }
Пример #5
0
 public BehaviourPreconditionUnary(BehaviourPrecondition lhs)
     : base(1)
 {
     AddChild(lhs);
 }