internal void Reset() { _images.Clear(); _spriteSheets.Clear(); _spriteFonts.Clear(); _soundEffects.Clear(); _content.Unload(); }
public void Destory() { log.I("LGame 2D Engine Shutdown"); isClose = true; XNAConfig.Dispose(); useXNAListener = false; if (this.sl_listener != null) { this.sl_listener.Dispose(GamePage, true); this.sl_listener = null; } if (UIElementRenderer != null) { UIElementRenderer.Dispose(); UIElementRenderer = null; } if (content != null) { content.Unload(); content = null; } }
public void Destroy(Microsoft.Xna.Framework.Content.ContentManager Content) { InAnimation.Clear(); OutAnimation.Clear(); Content.Unload(); }