public override bool Invoke() { foreach (var E_cow_Attack_Node in GetChildrens()) { if (E_cow_Attack_Node.Invoke()) { return(true); } } return(false); }
public override bool Invoke() { bool p = false; foreach (var E_cow_Attack_Node in GetChildrens()) { if (E_cow_Attack_Node.Invoke() == false) { p = true; } } return(!p); }
public void AddChild(E_cow_Attack_Node E_cow_Attack_Node) { childrens.Push(E_cow_Attack_Node); }