public void CreateCreditsArea() { this.DestroyMenu(); this.Hud.ReloadShow = false; this.Hud.HomeShow = false; this.Hud.BackShow = true; this.Hud.ResizeShow = true; BackHudBtn backHudBtn = new BackHudBtn(); backHudBtn.mainMenu = this; this.Hud.Back = backHudBtn; this.Hud.Start(this.Content, this.Mouse, this.Screem); backHudBtn.CBody.Tag = "back"; this.CreditsArea = new CreditsArea(); this.CreditsArea.Localization = this.Localization; this.CreditsArea.Storage = this.Storage; this.CreditsArea.Screem = this.Screem; this.CreditsArea.Font = this.Font; this.CreditsArea.FontBold = this.FontBold; this.CreditsArea.Show = true; this.CreditsArea.Start(); this.UI.Add(this.CreditsArea); }
public void DestroyAreas() { if (this.CreditsArea != null) { this.DestroyHud(); this.CreditsArea.RemoveFromScene = true; this.CreditsArea = null; } }