Пример #1
0
        private void ChangeBikeValues()
        {
            bike.PutTime(EncodeTime(currentData.Time, -1));
            int r = random.Next(0, 4);

            if (r == 1)
            {
                bike.Change(random.Next(1, 5), random.Next(1, 5), random.Next(1, 5));
            }
            else if (r == 0)
            {
                bike.Change(-1 * random.Next(1, 5), -1 * random.Next(1, 5), -1 * random.Next(1, 5));
            }
            else
            {
                bike.Change(0, 0, 0);
            }
        }