// Generated Methods
        public virtual void PostInitialize()
        {
            bool oldShapeManagerSuppressAdd = FlatRedBall.Math.Geometry.ShapeManager.SuppressAddingOnVisibilityTrue;

            FlatRedBall.Math.Geometry.ShapeManager.SuppressAddingOnVisibilityTrue = true;
            if (EasySelection.Parent == null)
            {
                EasySelection.CopyAbsoluteToRelative();
                EasySelection.AttachTo(this, false);
            }
            if (EasySelection.Parent == null)
            {
                EasySelection.Y = 0f;
            }
            else
            {
                EasySelection.RelativeY = 0f;
            }
            EasySelection.Text                = "Easy";
            EasySelection.FontSize            = 9;
            EasySelection.Red                 = 1f;
            EasySelection.Green               = 1f;
            EasySelection.Blue                = 1f;
            EasySelection.HorizontalAlignment = FlatRedBall.Graphics.HorizontalAlignment.Left;
            EasySelection.VerticalAlignment   = FlatRedBall.Graphics.VerticalAlignment.Top;
            if (NormalOffensiveSelection.Parent == null)
            {
                NormalOffensiveSelection.CopyAbsoluteToRelative();
                NormalOffensiveSelection.AttachTo(this, false);
            }
            if (NormalOffensiveSelection.Parent == null)
            {
                NormalOffensiveSelection.Y = -20f;
            }
            else
            {
                NormalOffensiveSelection.RelativeY = -20f;
            }
            NormalOffensiveSelection.Text                = "Normal Offensive";
            NormalOffensiveSelection.FontSize            = 9;
            NormalOffensiveSelection.Red                 = 1f;
            NormalOffensiveSelection.Green               = 1f;
            NormalOffensiveSelection.Blue                = 1f;
            NormalOffensiveSelection.HorizontalAlignment = FlatRedBall.Graphics.HorizontalAlignment.Left;
            NormalOffensiveSelection.VerticalAlignment   = FlatRedBall.Graphics.VerticalAlignment.Top;
            if (NormalDefensiveSelection.Parent == null)
            {
                NormalDefensiveSelection.CopyAbsoluteToRelative();
                NormalDefensiveSelection.AttachTo(this, false);
            }
            if (NormalDefensiveSelection.Parent == null)
            {
                NormalDefensiveSelection.Y = -40f;
            }
            else
            {
                NormalDefensiveSelection.RelativeY = -40f;
            }
            NormalDefensiveSelection.Text                = "Normal Defensive";
            NormalDefensiveSelection.FontSize            = 9;
            NormalDefensiveSelection.Red                 = 1f;
            NormalDefensiveSelection.Green               = 1f;
            NormalDefensiveSelection.Blue                = 1f;
            NormalDefensiveSelection.HorizontalAlignment = FlatRedBall.Graphics.HorizontalAlignment.Left;
            NormalDefensiveSelection.VerticalAlignment   = FlatRedBall.Graphics.VerticalAlignment.Top;
            if (HardSelection.Parent == null)
            {
                HardSelection.CopyAbsoluteToRelative();
                HardSelection.AttachTo(this, false);
            }
            if (HardSelection.Parent == null)
            {
                HardSelection.Y = -60f;
            }
            else
            {
                HardSelection.RelativeY = -60f;
            }
            HardSelection.Text                = "Hard";
            HardSelection.FontSize            = 9;
            HardSelection.Red                 = 1f;
            HardSelection.Green               = 1f;
            HardSelection.Blue                = 1f;
            HardSelection.HorizontalAlignment = FlatRedBall.Graphics.HorizontalAlignment.Left;
            HardSelection.VerticalAlignment   = FlatRedBall.Graphics.VerticalAlignment.Top;
            FlatRedBall.Math.Geometry.ShapeManager.SuppressAddingOnVisibilityTrue = oldShapeManagerSuppressAdd;
        }
        // Generated Methods
        public virtual void PostInitialize()
        {
            bool oldShapeManagerSuppressAdd = FlatRedBall.Math.Geometry.ShapeManager.SuppressAddingOnVisibilityTrue;

            FlatRedBall.Math.Geometry.ShapeManager.SuppressAddingOnVisibilityTrue = true;
            this.AfterWinnerSet += OnAfterwinnerSet;
            if (VictoryTextLabel.Parent == null)
            {
                VictoryTextLabel.CopyAbsoluteToRelative();
                VictoryTextLabel.AttachTo(this, false);
            }
            if (VictoryTextLabel.Parent == null)
            {
                VictoryTextLabel.X = -170f;
            }
            else
            {
                VictoryTextLabel.RelativeX = -170f;
            }
            if (VictoryTextLabel.Parent == null)
            {
                VictoryTextLabel.Y = 30f;
            }
            else
            {
                VictoryTextLabel.RelativeY = 30f;
            }
            VictoryTextLabel.Text     = "Player # Won.";
            VictoryTextLabel.FontSize = 24;
            VictoryTextLabel.Red      = 1f;
            VictoryTextLabel.Green    = 1f;
            if (PlayAgainText.Parent == null)
            {
                PlayAgainText.CopyAbsoluteToRelative();
                PlayAgainText.AttachTo(this, false);
            }
            if (PlayAgainText.Parent == null)
            {
                PlayAgainText.X = -170f;
            }
            else
            {
                PlayAgainText.RelativeX = -170f;
            }
            if (PlayAgainText.Parent == null)
            {
                PlayAgainText.Y = -5f;
            }
            else
            {
                PlayAgainText.RelativeY = -5f;
            }
            PlayAgainText.Text     = "Would you like to play again?";
            PlayAgainText.FontSize = 12;
            PlayAgainText.Red      = 1f;
            PlayAgainText.Green    = 1f;
            PlayAgainText.Blue     = 1f;
            if (NoButton.Parent == null)
            {
                NoButton.CopyAbsoluteToRelative();
                NoButton.AttachTo(this, false);
            }
            if (NoButton.Parent == null)
            {
                NoButton.X = 110f;
            }
            else
            {
                NoButton.RelativeX = 110f;
            }
            if (NoButton.Parent == null)
            {
                NoButton.Y = -50f;
            }
            else
            {
                NoButton.RelativeY = -50f;
            }
            if (NoButton.Parent == null)
            {
                NoButton.Z = 1f;
            }
            else
            {
                NoButton.RelativeZ = 1f;
            }
            NoButton.Text                = "No";
            NoButton.FontSize            = 16;
            NoButton.Red                 = 1f;
            NoButton.HorizontalAlignment = FlatRedBall.Graphics.HorizontalAlignment.Center;
            if (YesButton.Parent == null)
            {
                YesButton.CopyAbsoluteToRelative();
                YesButton.AttachTo(this, false);
            }
            if (YesButton.Parent == null)
            {
                YesButton.X = -130f;
            }
            else
            {
                YesButton.RelativeX = -130f;
            }
            if (YesButton.Parent == null)
            {
                YesButton.Y = -50f;
            }
            else
            {
                YesButton.RelativeY = -50f;
            }
            if (YesButton.Parent == null)
            {
                YesButton.Z = 1f;
            }
            else
            {
                YesButton.RelativeZ = 1f;
            }
            YesButton.Text                = "Yes";
            YesButton.FontSize            = 16;
            YesButton.Green               = 1f;
            YesButton.HorizontalAlignment = FlatRedBall.Graphics.HorizontalAlignment.Center;
            if (BackgroundSprite.Parent == null)
            {
                BackgroundSprite.CopyAbsoluteToRelative();
                BackgroundSprite.AttachTo(this, false);
            }
            BackgroundSprite.Texture      = PopupBackgroundTexture;
            BackgroundSprite.Height       = 200f;
            BackgroundSprite.TextureScale = 0f;
            BackgroundSprite.Width        = 430f;
            if (BackgroundSprite.Parent == null)
            {
                BackgroundSprite.X = -10f;
            }
            else
            {
                BackgroundSprite.RelativeX = -10f;
            }
            if (BackgroundSprite.Parent == null)
            {
                BackgroundSprite.Z = -1f;
            }
            else
            {
                BackgroundSprite.RelativeZ = -1f;
            }
            FlatRedBall.Math.Geometry.ShapeManager.SuppressAddingOnVisibilityTrue = oldShapeManagerSuppressAdd;
        }