/// <summary>
        /// Adds the buttons (and other controls) to the screen in question.
        /// </summary>
        public override void InitGui()
        {
            ControlList.Clear();

            if (Mc.TheWorld.GetWorldInfo().IsHardcoreModeEnabled())
            {
                ControlList.Add(new GuiButton(1, Width / 2 - 100, Height / 4 + 96, StatCollector.TranslateToLocal("deathScreen.deleteWorld")));
            }
            else
            {
                ControlList.Add(new GuiButton(1, Width / 2 - 100, Height / 4 + 72, StatCollector.TranslateToLocal("deathScreen.respawn")));
                ControlList.Add(new GuiButton(2, Width / 2 - 100, Height / 4 + 96, StatCollector.TranslateToLocal("deathScreen.titleScreen")));

                if (Mc.Session == null)
                {
                    ControlList[1].Enabled = false;
                }
            }

            for (IEnumerator <GuiButton> iterator = ControlList.GetEnumerator(); iterator.MoveNext();)
            {
                GuiButton guibutton = iterator.Current;
                guibutton.Enabled = false;
            }
        }
        /// <summary>
        /// Called from the main game loop to update the screen.
        /// </summary>
        public override void UpdateScreen()
        {
            base.UpdateScreen();
            CooldownTimer++;

            if (CooldownTimer == 20)
            {
                for (IEnumerator <GuiButton> iterator = ControlList.GetEnumerator(); iterator.MoveNext();)
                {
                    GuiButton guibutton = iterator.Current;
                    guibutton.Enabled = true;
                }
            }
        }