internal void Update(GameTime gt)
        {
            if (bHandle)
            {
                if (statUps.Last().Equals(start))
                {
                    bHandle = false;
                }
                else if (start.HandleNext())
                {
                    start = statUps[statUps.IndexOf(start) + 1];
                    start.Start();
                }
            }
            else
            {
            }

            if (statUps.Count != 0)
            {
                for (int i = 0; i < statUps.Count; i++)
                {
                    statUps[i].Update(gt);
                }
            }
        }
 internal bool Equals(StatUpDisplay stud)
 {
     if (name.Equals(stud.name))
     {
         return(true);
     }
     return(false);
 }
        internal LevelUpStatIncreaseDisplay(LUA.LuaGameClass info, BaseCharacter bc)
        {
            if (!bInitialize)
            {
                Initialize();
            }
            statUps   = new List <StatUpDisplay>();
            this.info = info;
            int count = 0;

            for (int i = 0; i < info.additionStat.currentPassiveStats.Count; i++)
            {
                if (info.additionStat.currentPassiveStats[i] != 0)
                {
                    if (count < 5)
                    {
                        String s = ((STATChart.PASSIVESTATSNames)i).ToString() + ": " + bc.trueSTATChart().currentPassiveStats[i];
                        statUps.Add(new StatUpDisplay(new Rectangle((1366 / 2 - 1100 / 2), 375 + 62 * count, 350, 52), s, info.additionStat.currentPassiveStats[i]));
                    }
                    if (count >= 5 && count < 10)
                    {
                        String s = ((STATChart.PASSIVESTATSNames)i).ToString() + ": " + bc.trueSTATChart().currentPassiveStats[i];
                        statUps.Add(new StatUpDisplay(new Rectangle((1366 / 2 - 1100 / 2) + 350 + 25, 375 + 62 * count % 5, 350, 52), s, info.additionStat.currentPassiveStats[i]));
                    }
                    if (count >= 10 && count < 15)
                    {
                        String s = ((STATChart.PASSIVESTATSNames)i).ToString() + ": " + bc.trueSTATChart().currentPassiveStats[i];
                        statUps.Add(new StatUpDisplay(new Rectangle((1366 / 2 - 1100 / 2) + 350 + 350 + 50, 375 + 62 * count % 10, 350, 52), s, info.additionStat.currentPassiveStats[i]));
                    }


                    count++;
                }
            }

            for (int i = 0; i < info.additionStat.currentSpecialStats.Count; i++)
            {
                if (info.additionStat.currentSpecialStats[i] != 0)
                {
                    if (count < 5)
                    {
                        String s = ((STATChart.SPECIALSTATSNames)i).ToString() + ": " + bc.trueSTATChart().currentSpecialStats[i];
                        statUps.Add(new StatUpDisplay(new Rectangle((1366 / 2 - 1100 / 2), 375 + 62 * count, 350, 52), s, info.additionStat.currentSpecialStats[i]));
                    }
                    if (count >= 5 && count < 10)
                    {
                        String s = ((STATChart.SPECIALSTATSNames)i).ToString() + ": " + bc.trueSTATChart().currentSpecialStats[i];
                        statUps.Add(new StatUpDisplay(new Rectangle((1366 / 2 - 1100 / 2) + 350 + 25, 375 + 62 * count % 5, 350, 52), s, info.additionStat.currentSpecialStats[i]));
                    }
                    if (count >= 10 && count < 15)
                    {
                        String s = ((STATChart.SPECIALSTATSNames)i).ToString() + ": " + bc.trueSTATChart().currentSpecialStats[i];
                        statUps.Add(new StatUpDisplay(new Rectangle((1366 / 2 - 1100 / 2) + 350 + 350 + 50, 375 + 62 * count % 10, 350, 52), s, info.additionStat.currentSpecialStats[i]));
                    }


                    count++;
                }
            }

            if (statUps.Count != 0)
            {
                bHandle = true;
                start   = statUps[0];
                start.Start();
            }
            else
            {
                bHandle = false;
            }
        }