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

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

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

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