public Nivel(SpriteBatch spritebatch_, int index_) { lvlStatic = this; this.index = index_; Content = Juego.content; SpriteBatch = spritebatch_; LeerXML(); hud = new HUD(); setVidas(); oldState = Keyboard.GetState(); }
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(); }