示例#1
0
        public override void Init()
        {
            stages         = RandomUtil.Int(3, 6);
            flashingColors = new int[stages];
            correctColors  = new int[stages];
            for (int i = 0; i < stages; i++)
            {
                flashingColors[i] = RandomUtil.Int(4);
            }
            hasVowel = BombInfo.GetSerialNumberLetters().Any(x => "AEIOU".Contains(x));

            CalculateCorrectColors();

            PrepImages(this);
        }