Ejemplo n.º 1
0
        public static void InitNewGame()
        {
            Replay();

            LetterProp.InitProbability(level);

            LetterPropGrid = new LetterProp[gridsize, gridsize];

            Spells.UpdateSpellsForLevel(level);
        }
Ejemplo n.º 2
0
        internal static bool CheckNextLevel(int totalScore)
        {
            if (level < Levels.Length - 1 && totalScore >= Levels[level])
            {
                level++;
                levelup = true;

                //LevelText.Text = "L: " + CurrentLevel.ToString();

                if (level >= 5)
                {
                    ChangeManna(6);
                }

                Spells.UpdateSpellsForLevel(level);
                LetterProp.InitProbability(level);
            }

            return(levelup);
        }