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