public override void Initialize(bool addToManagers)
        {
            // Generated Initialize
            LoadStaticContent(ContentManagerName);
            MenuItemPlay                = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            MenuItemPlay.Name           = "MenuItemPlay";
            MenuItemExit                = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            MenuItemExit.Name           = "MenuItemExit";
            TitleTextLabel              = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            TitleTextLabel.Name         = "TitleTextLabel";
            BackgroundImage             = new FrbTicTacToe.Entities.Background(ContentManagerName, false);
            BackgroundImage.Name        = "BackgroundImage";
            GridBackgroundInstance      = new FrbTicTacToe.Entities.GridBackground(ContentManagerName, false);
            GridBackgroundInstance.Name = "GridBackgroundInstance";
            BoardTileO1        = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            BoardTileO1.Name   = "BoardTileO1";
            BoardTileO2        = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            BoardTileO2.Name   = "BoardTileO2";
            BoardTileX1        = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            BoardTileX1.Name   = "BoardTileX1";
            BoardTileX2        = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            BoardTileX2.Name   = "BoardTileX2";
            BoardTileX3        = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            BoardTileX3.Name   = "BoardTileX3";
            MenuItemAbout      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            MenuItemAbout.Name = "MenuItemAbout";


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
        protected virtual void InitializeEntity(bool addToManagers)
        {
            // Generated Initialize
            LoadStaticContent(ContentManagerName);
            EasySelection                 = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            EasySelection.Name            = "EasySelection";
            NormalOffensiveSelection      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            NormalOffensiveSelection.Name = "NormalOffensiveSelection";
            NormalDefensiveSelection      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            NormalDefensiveSelection.Name = "NormalDefensiveSelection";
            HardSelection                 = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            HardSelection.Name            = "HardSelection";

            PostInitialize();
            if (addToManagers)
            {
                AddToManagers(null);
            }
        }
Esempio n. 3
0
        public override void Initialize(bool addToManagers)
        {
            // Generated Initialize
            LoadStaticContent(ContentManagerName);
            BackgroundImage        = new FrbTicTacToe.Entities.Background(ContentManagerName, false);
            BackgroundImage.Name   = "BackgroundImage";
            BackButton             = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            BackButton.Name        = "BackButton";
            ProgrammingLabel       = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            ProgrammingLabel.Name  = "ProgrammingLabel";
            HeaderText             = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            HeaderText.Name        = "HeaderText";
            ProgrammingText        = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            ProgrammingText.Name   = "ProgrammingText";
            SupportLabel           = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            SupportLabel.Name      = "SupportLabel";
            SupportText            = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            SupportText.Name       = "SupportText";
            ArtworkLabel           = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            ArtworkLabel.Name      = "ArtworkLabel";
            ArtworkText            = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            ArtworkText.Name       = "ArtworkText";
            PaintingsLabel         = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            PaintingsLabel.Name    = "PaintingsLabel";
            PaintingsText          = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            PaintingsText.Name     = "PaintingsText";
            SoundEffectsLabel      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            SoundEffectsLabel.Name = "SoundEffectsLabel";
            SoundEffectsText       = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            SoundEffectsText.Name  = "SoundEffectsText";
            MusicLabel             = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            MusicLabel.Name        = "MusicLabel";
            MusicText      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            MusicText.Name = "MusicText";


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
        public override void Initialize(bool addToManagers)
        {
            // Generated Initialize
            LoadStaticContent(ContentManagerName);
            CcgLogo             = new FlatRedBall.Sprite();
            CcgLogo.Name        = "CcgLogo";
            CreatedByLabel      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            CreatedByLabel.Name = "CreatedByLabel";
            CCGLabel            = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            CCGLabel.Name       = "CCGLabel";

            this.NextScreen = typeof(FrbTicTacToe.Screens.TitleMenu).FullName;

            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
        public override void Initialize(bool addToManagers)
        {
            // Generated Initialize
            LoadStaticContent(ContentManagerName);
            Player1Label             = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            Player1Label.Name        = "Player1Label";
            Player2Label             = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            Player2Label.Name        = "Player2Label";
            PlayButton               = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            PlayButton.Name          = "PlayButton";
            BackButton               = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            BackButton.Name          = "BackButton";
            BackgroundImage          = new FrbTicTacToe.Entities.Background(ContentManagerName, false);
            BackgroundImage.Name     = "BackgroundImage";
            Player1HumanIcon         = new FrbTicTacToe.Entities.Icon(ContentManagerName, false);
            Player1HumanIcon.Name    = "Player1HumanIcon";
            Player2HumanIcon         = new FrbTicTacToe.Entities.Icon(ContentManagerName, false);
            Player2HumanIcon.Name    = "Player2HumanIcon";
            Player1ComputerIcon      = new FrbTicTacToe.Entities.Icon(ContentManagerName, false);
            Player1ComputerIcon.Name = "Player1ComputerIcon";
            Player2ComputerIcon      = new FrbTicTacToe.Entities.Icon(ContentManagerName, false);
            Player2ComputerIcon.Name = "Player2ComputerIcon";
            Player1Tile              = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            Player1Tile.Name         = "Player1Tile";
            Player2Tile              = new FrbTicTacToe.Entities.BoardTile(ContentManagerName, false);
            Player2Tile.Name         = "Player2Tile";
            Player1AiSelector        = new FrbTicTacToe.Entities.AiSelector(ContentManagerName, false);
            Player1AiSelector.Name   = "Player1AiSelector";
            Player2AiSelector        = new FrbTicTacToe.Entities.AiSelector(ContentManagerName, false);
            Player2AiSelector.Name   = "Player2AiSelector";


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
        protected virtual void InitializeEntity(bool addToManagers)
        {
            // Generated Initialize
            LoadStaticContent(ContentManagerName);
            VictoryTextLabel      = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            VictoryTextLabel.Name = "VictoryTextLabel";
            PlayAgainText         = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            PlayAgainText.Name    = "PlayAgainText";
            NoButton              = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            NoButton.Name         = "NoButton";
            YesButton             = new FrbTicTacToe.Entities.Label(ContentManagerName, false);
            YesButton.Name        = "YesButton";
            BackgroundSprite      = new FlatRedBall.Sprite();
            BackgroundSprite.Name = "BackgroundSprite";
            this.Click           += CallLosePush;
            this.RollOff         += CallLosePush;

            PostInitialize();
            if (addToManagers)
            {
                AddToManagers(null);
            }
        }