Пример #1
0
        private static void NewPosition(int advanceStartPos)
        {
            for (int i = 0; i < advanceStartPos; i++)
            {
                StartPosition = StartPosition.GetNextTile(0);
            }
            EndPosition = StartPosition;
            for (int i = 0; i > -10; i--)
            {
                EndPosition = EndPosition.previousTile;
            }

            int ran = _rnd.Next(21);

            for (int i = 0; i < ran; i++)
            {
                EndPosition = EndPosition.GetNextTile(0);
            }
        }