Esempio n. 1
0
        public int CountAnimated()
        {
            int result = Animate ? 1 : 0;

            foreach (NJS_OBJECT item in Children)
            {
                result += item.CountAnimated();
            }
            if (Parent == null && Sibling != null)
            {
                result += Sibling.CountAnimated();
            }
            return(result);
        }