public BtPreconditionNode GetFirst() { if (_first == null) { _first = GetChild <BtPreconditionNode>(0); } return(_first); }
public BtAction SetPrecondition(BtPreconditionNode precondition) { _precondition = precondition; return(this); }
public TbPreconditionNot(BtPreconditionNode lhs) : base(lhs) { }
public TbPreconditionBinary(BtPreconditionNode lhs, BtPreconditionNode rhs) : base(2) { AddChild(lhs); AddChild(rhs); }
public TbPreconditionUnary(BtPreconditionNode lhs) : base(1) { AddChild(lhs); }
public TbPreconditionXor(BtPreconditionNode lhs, BtPreconditionNode rhs) : base(lhs, rhs) { }