Пример #1
0
        public void Load()
        {
            Reader.Load(currentFileName);

            BlockListLeftFacingOrder  = new IBlock[BlockList.Count];
            BlockListRightFacingOrder = new IBlock[BlockList.Count];

            BlockList.CopyTo(BlockListLeftFacingOrder, 0);
            BlockList.CopyTo(BlockListRightFacingOrder, 0);

            SortBlocksFacingLeft(BlockListLeftFacingOrder);
            SortBlocksFacingRight(BlockListRightFacingOrder);
        }