public void SortChildren(IComparator <IEntity> compare) { if (children == null) { return; } ZIndexSorter.Instance().Sort(children, compare); }
//================================================================ //Getter and Setter //================================================================ #region public static ZIndexSorter Instance() { if (INSTANCE == null) { INSTANCE = new ZIndexSorter(); } return(INSTANCE); }
public void SortChildren() { if (children == null) { return; } ZIndexSorter.Instance().Sort(children); }