예제 #1
0
        private async Task findLet()
        {
            await this.tf.findLetters();

            Letter[] letters       = tf.getLetters();
            int      lettersLength = letters.Length;

            for (int i = 0; i < letters.Length; i++)
            {
                if (letters[i] == null)
                {
                    lettersLength = i;
                    break;
                }
            }

            for (int i = 0; i < lettersLength; i++)
            {
                tf.getLetters()[i].initScrambleArray();
            }
        }