/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); Object.Inicialize(this, spriteBatch, Content); SoundControl.Initialize(this, Content); Scene.Initialize(this, spriteBatch, Content); // TODO: use this.content to load your game content here PushScene(new MainTitle(null)); //EvaluateScore("Ranking.txt"); LoadRanking("Ranking.txt", false, "Ranking.txt"); //"Ranking_original.txt"); // Fonts titleFont = Content.Load <SpriteFont>("General\\titleFont"); menuFont = Content.Load <SpriteFont>("General\\menuFont"); debugFont = Content.Load <SpriteFont>("General\\debugFont"); pumpDemi = Content.Load <SpriteFont>("General\\Pump_Demi_Bold"); japaneseFont = Content.Load <SpriteFont>("General\\japaneseFont"); dm = new DebugMessage(this, spriteBatch); dm.Initialize(); // Audio /*audioEngine = new AudioEngine("Content\\Audio\\Audio.xgs"); * waveBank = new WaveBank(audioEngine, "Content\\Audio\\Wave Bank.xwb"); * soundBank = new SoundBank(audioEngine, "Content\\Audio\\Sound Bank.xsb");*/ }