Exemplo n.º 1
0
        //-------------------------------------------------------------------------------------------------------------
        public void OrderList(STSFiveCross sDirection, STSClockwise sClosckwise)
        {
            //STSBenchmark.Start();
            switch (sDirection)
            {
            case STSFiveCross.Bottom:
                OrderList(STSNineCross.Bottom, sClosckwise);
                break;

            case STSFiveCross.Top:
                OrderList(STSNineCross.Top, sClosckwise);
                break;

            case STSFiveCross.Left:
                OrderList(STSNineCross.Top, sClosckwise);
                break;

            case STSFiveCross.Right:
                OrderList(STSNineCross.Top, sClosckwise);
                break;

            case STSFiveCross.Center:
                OrderList(STSNineCross.Center, sClosckwise);
                break;
            }
            //STSBenchmark.Finish();
        }
Exemplo n.º 2
0
        //-------------------------------------------------------------------------------------------------------------
        public void OrderList(STSNineCross sDirection, STSClockwise sClosckwise)
        {
            //STSBenchmark.Start();
            TilesList = new List <STSTile>();
            switch (sDirection)
            {
            case STSNineCross.Bottom:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.Top:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.Left:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.Right:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.Center:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.TopLeft:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.TopRight:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.BottomLeft:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;

            case STSNineCross.BottomRight:
                if (sClosckwise == STSClockwise.Clockwise)
                {
                }
                else
                {
                }
                break;
            }
            //STSBenchmark.Finish();
        }