Beispiel #1
0
        private List <City> GetCityOrder()
        {
            var list = new List <City>(Cities);

            switch (Cycle)
            {
            default:
                break;

            case CycleMethod.Reverse:
                list.Reverse();
                break;

            case CycleMethod.Random:
                ColUtility.Shuffle(list);
                break;
            }

            return(list);
        }