Ejemplo n.º 1
0
        public void Initialize(Ch2Goku goku2, SenzuBeans senzuBean, Ch2Villain Villain2, Death death)
        {
            goku2.health = 100;
               goku2.EXP = 0;
               for (int i = 0; i < senzuBean.SenzuBeanRect.Count; i++)
               {
               senzuBean.SenzuBeanRect.RemoveAt(i);
               }

               senzuBean.RectsOnScreen = false;
               Villain2.X = 0;
               Villain2.Y = 30;
               goku2.Lvled = false;
               goku2.X = 500;
               goku2.Y = 350;
               goku2.level = 0;

               death.ReStart = false;
               Dead = false;
        }
Ejemplo n.º 2
0
        public void Initialize(Goku goku, Death death, SenzuBeans senzuBean, Villain buu)
        {
            goku.health = 100;
            goku.EXP = 0;
            for (int i = 0; i < senzuBean.SenzuBeanRect.Count; i++)
            {
                senzuBean.SenzuBeanRect.RemoveAt(i);
            }

            senzuBean.RectsOnScreen = false;
            buu.X = 0;
            buu.Y = 30;
            goku.Lvled = false;
            goku.X = 500;
            goku.Y = 350;
            goku.level = 0;
            goku.score = 0;
            death.ReStart = false;
            Dead = false;
        }
Ejemplo n.º 3
0
        public void Initialize(Ch2Goku goku2,Ch2Goku goku3, SenzuBeans senzuBean, Ch2Villain Villain2, Death death)
        {
            goku2.health = 100;
            goku2.EXP = 0;
            for (int i = 0; i < senzuBean.SenzuBeanRect.Count; i++)
            {
                senzuBean.SenzuBeanRect.RemoveAt(i);
            }

            senzuBean.RectsOnScreen = false;
            Villain2.X = 0;
            Villain2.Y = 30;
            goku2.Lvled = false;
            goku2.X = 600;
            goku2.Y = 350;
            goku3.X = 10;
            goku3.Y = 200;
            goku2.level = 0;

            death.ReStart = false;
            Dead = false;
            goku2.Position = new Rectangle(600, 350, 50, 75);
            goku3.Position = new Rectangle(10, 200, 50, 75);
        }