public bool TakeAction(Node node, NodeAction action)
        {
            double res = 0;

            for (int x = 10; x < 10000; x++)
            {
                res = Math.Sqrt(x) * x;
            }


            if (action == null)
            {
                return(true);
            }
            LastAction = action;
            node.AvalableActions.Remove(action);
            return(action.Terminal);
        }
 public void AddAction(NodeAction action) => AvalableActions.Add(action);