Пример #1
0
        private bool CheckLvlUp()
        {
            RPGCalc calc      = new RPGCalc();
            bool    bMelee    = calc.CheckXPForLevel(m_ExperienceMelee, m_LvlMelee);
            bool    bThrown   = calc.CheckXPForLevel(m_ExperienceThrown, m_LvlThrown);
            bool    bLauncher = calc.CheckXPForLevel(m_ExperienceThrown, m_LvlLauncher);

            if (bMelee || bThrown || bLauncher)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }