예제 #1
0
 public Nivel(SpriteBatch spritebatch_, int index_)
 {
     lvlStatic = this;
     this.index = index_;
     Content = Juego.content;
     SpriteBatch = spritebatch_;
     LeerXML();
     hud = new HUD();
     setVidas();
     oldState = Keyboard.GetState();
 }
예제 #2
0
 public Nivel(SpriteBatch spritebatch_, int index_)
 {
     asd = Juego.ContentMenus.Load<SpriteFont>("Fuentes/VidaFont");
     lvlStatic = this;
     this.index = index_;
     Content = Juego.content;
     SpriteBatch = spritebatch_;
     LeerXML();
     hud = new HUD();
     setVidas();
     oldState = Keyboard.GetState();
 }