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