/// <summary> /// UnloadContent will be called once per game and is the place to unload /// game-specific content. /// </summary> protected override void UnloadContent() { WobbleAssets.Dispose(); WindowManager.UnHookEvents(); AudioManager.Dispose(); DiscordManager.Dispose(); BitmapFontFactory.Dispose(); }
/// <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); WobbleAssets.Load(); }