Exemplo n.º 1
0
        public bool notify(AICommunicationSymbols symbols, bool deepOnly)
        {
            if (aiSteps.Count > 0)
            {
                if (deepOnly)
                {
                    if (!CurrentStep.notify(symbols, deepOnly))
                    {
                        CurrentStep.notify(symbols);
                        return(true);
                    }
                }
                else
                {
                    CurrentStep.notify(symbols);
                    CurrentStep.notify(symbols, deepOnly);
                    return(true);
                }
            }

            return(false);
        }