Example #1
0
        protected override void Destroy()
        {
            EffectSystem.Dispose();
            GraphicsDevice.Dispose();

            base.Destroy();
        }
Example #2
0
 public void Dispose()
 {
     // destroy all game systems
     thumbnailGraphicsCompositors.ForEach(x => x.Dispose());
     sceneSystem.Dispose();
     fontSystem.Dispose();
     EffectSystem.Dispose();
     GraphicsDevice.Dispose();
 }
Example #3
0
 public void Dispose()
 {
     EffectSystem.Dispose();
     GraphicsDevice.Dispose();
 }