예제 #1
0
    void Initalize()
    {
        level.InitalizeFromLevel(GlobalValues.levelData);
        seed++;
        List <char> letters = level.Letters;
        string      regex   = level.RegexDefinition;

        string regexText = string.Format("Regex: {0}", regex);

        levelView.SetRegexText(regexText);
        levelView.SetInputLetters(letters);
        levelView.InitalizeWords(level.GetRemainingWords());
        levelView.AnimateUI();
    }