예제 #1
0
        public void CrearNuevaBola(ContentManager Content)
        {
            Bola b = new Bola(0, 0, Content);

            b.MoverAPosicionInicial();
            Bolas.Add(b);
        }
예제 #2
0
 public Nivel01(ContentManager Content)
     : base(Content)
 {
     Fondo = new Sprite(0, 0, "fondoNivel1", Content);
     Bolas.Add(new Bola(349, 40, Content));
     Item = new Sprite(200, 565, "reloj", Content);
 }
예제 #3
0
 public Nivel02(ContentManager Content)
     : base(Content)
 {
     Fondo = new Sprite(0, 0, "fondoNivel2", Content);
     Bolas.Add(new Bola(249, 40, Content));
     Bolas.Add(new Bola(560, 40, Content));
     Item = new Sprite(900, 565, "reloj", Content);
 }
예제 #4
0
 public Nivel03(ContentManager Content)
     : base(Content)
 {
     Fondo = new Sprite(0, 0, "fondoNivel3", Content);
     Bolas.Add(new Bola(149, 40, Content));
     Bolas.Add(new Bola(460, 40, Content));
     Bolas.Add(new Bola(760, 40, Content));
     Item = new Sprite(600, 565, "reloj", Content);
 }