protected override void LoadContent() { spriteBatch = new UberSpriteBatch(GraphicsDevice); // Charge notre spriteBatch personnalise TexturesManager.Load(Content); // Charge les textures cursor = new CursoManagers(TexturesManager.Cursor); RandomManager.Init(); currentScreen = new StartMenu(); }
protected override void LoadContent() { spriteBatch = new UberSpriteBatch(GraphicsDevice); // Charge notre spriteBatch personnalise TexturesManager.Load(Content); // Charge les textures CursorManager.CurrentTexture = TexturesManager.Cursor; RandomManager.Init(); XactManager.Load(); currentScreen = new StartMenu(); XactManager.PlaySong("Menu01"); XactManager.Engine.GetCategory("Music").SetVolume(0.5f); XactManager.Engine.GetCategory("SoundEffect").SetVolume(0.5f); }