Beispiel #1
0
        public void updateAllHero()
        {
            releaseAll();

            int idx = 0;
            int idy = 0;

            int idTotal = 0;
            HeroItemCom item = null;
            while(idTotal < 9 && idTotal < Ctx.m_instance.m_dataPlayer.m_dataHero.m_heroList.Count)
            {
                idy = idTotal / 3;
                idx = idTotal % 3;

                item = new HeroItemCom();
                m_heroList.Add(item);

                ++idTotal;
            }
        }
Beispiel #2
0
        public void updateAllHero()
        {
            releaseAll();

            int idx = 0;
            int idy = 0;

            int         idTotal = 0;
            HeroItemCom item    = null;

            while (idTotal < 9 && idTotal < Ctx.m_instance.m_dataPlayer.m_dataHero.m_heroList.Count)
            {
                idy = idTotal / 3;
                idx = idTotal % 3;

                item = new HeroItemCom();
                m_heroList.Add(item);

                ++idTotal;
            }
        }