Exemple #1
0
 /// <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();
 }
Exemple #2
0
 /// <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();
 }