Ejemplo n.º 1
0
        public void SortChildren(IComparator <IEntity> compare)
        {
            if (children == null)
            {
                return;
            }

            ZIndexSorter.Instance().Sort(children, compare);
        }
Ejemplo n.º 2
0
        //================================================================
        //Getter and Setter
        //================================================================
        #region
        public static ZIndexSorter Instance()
        {
            if (INSTANCE == null)
            {
                INSTANCE = new ZIndexSorter();
            }

            return(INSTANCE);
        }
Ejemplo n.º 3
0
        public void SortChildren()
        {
            if (children == null)
            {
                return;
            }

            ZIndexSorter.Instance().Sort(children);
        }