public void Dispose() { backgroundSprite.Dispose(); campfireSprite.Dispose(); headingFont.Dispose(); headingLabel.Dispose(); }
public void Dispose() { backgroundSprite?.Dispose(); foreach (var labelItem in fontLabels) { labelItem.Label.Dispose(); } textFont.Dispose(); }
public void Dispose() { backgroundSprite.Dispose(); diabloLogoLeft.Dispose(); diabloLogoRight.Dispose(); diabloLogoLeftBlack.Dispose(); diabloLogoRightBlack.Dispose(); labelFont.Dispose(); versionLabel.Dispose(); urlLabel.Dispose(); btnSinglePlayer.Dispose(); btnExit.Dispose(); btnWebsite.Dispose(); }
virtual public void Release() { if (_font != null) { _font.Dispose(); } _font = null; if (_brush != null) { _brush.Dispose(); } _brush = null; }
public void Dispose() { backgroundSprite.Dispose(); campfireSprite.Dispose(); headingFont.Dispose(); headingLabel.Dispose(); sfxDictionary.Clear(); foreach (var hri in heroRenderInfo) { hri.Value.Dispose(); } heroRenderInfo.Clear(); }
protected override void OnDeleted() { font.Dispose(); }
public void Dispose() { font.Dispose(); }
protected override void OnDeleted() { fontSmall.Dispose(); fontLarge.Dispose(); }