public int GetCount(Agent pAgent)
            {
                DecoratorCount decoratorCount = (DecoratorCount)base.GetNode();

                return((decoratorCount != null) ? decoratorCount.GetCount(pAgent) : 0);
            }
Example #2
0
            public int GetCount(Agent pAgent)
            {
                DecoratorCount node = (DecoratorCount)base.GetNode();

                return((node == null) ? 0 : node.GetCount(pAgent));
            }