Пример #1
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            FinalScoreValue = GameOverGum.GetGraphicalUiElementByName("FinalScoreValue") as Frbcon2019.GumRuntimes.TextRuntime;
            PlayAgainButton = GameOverGum.GetGraphicalUiElementByName("PlayAgainButton") as Frbcon2019.GumRuntimes.ButtonRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #2
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            CardContainer = MemoryGameGum.GetGraphicalUiElementByName("CardContainer") as Frbcon2019.GumRuntimes.ContainerRuntime;


            base.Initialize(addToManagers);
        }
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            MapScreenGumInstance       = MapScreenGum.GetGraphicalUiElementByName("this") as AbbatoirIntergrade.GumRuntimes.MapScreenGumRuntime;
            MenuWindowInstance         = MapScreenGum.GetGraphicalUiElementByName("MenuWindowInstance") as AbbatoirIntergrade.GumRuntimes.MenuWindowRuntime;
            ChatHistoryInstance        = MapScreenGum.GetGraphicalUiElementByName("ChatHistoryInstance") as AbbatoirIntergrade.GumRuntimes.ChatHistoryRuntime;
            TowerSelectionBoxInstance  = MapScreenGum.GetGraphicalUiElementByName("TowerSelectionBoxInstance") as AbbatoirIntergrade.GumRuntimes.TowerSelectionBoxRuntime;
            StructureList              = new FlatRedBall.Math.PositionedObjectList <AbbatoirIntergrade.Entities.BaseEntities.BaseStructure>();
            StructureList.Name         = "StructureList";
            StructureLayer             = new FlatRedBall.Graphics.Layer();
            StructureLayer.Name        = "StructureLayer";
            ProjectileList             = new FlatRedBall.Math.PositionedObjectList <AbbatoirIntergrade.Entities.BaseEntities.BasePlayerProjectile>();
            ProjectileList.Name        = "ProjectileList";
            OkMessageInstance          = MapScreenGum.GetGraphicalUiElementByName("OkMessageInstance") as AbbatoirIntergrade.GumRuntimes.infodisplays.OkMessageRuntime;
            ConfirmationWindowInstance = MapScreenGum.GetGraphicalUiElementByName("ConfirmationWindowInstance") as AbbatoirIntergrade.GumRuntimes.ConfirmationWindowRuntime;
            HUDLayer      = new FlatRedBall.Graphics.Layer();
            HUDLayer.Name = "HUDLayer";
            CurrentMusicDisplayInstance = MapScreenGum.GetGraphicalUiElementByName("CurrentMusicDisplayInstance") as AbbatoirIntergrade.GumRuntimes.infodisplays.CurrentMusicDisplayRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #4
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            ButtonInstance = MainMenuGum.GetGraphicalUiElementByName("ButtonInstance") as Frbcon2019.GumRuntimes.ButtonRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #5
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            TheSpriteInstance            = new FlatRedBall.Sprite();
            TheSpriteInstance.Name       = "TheSpriteInstance";
            ASpriteInstance              = new FlatRedBall.Sprite();
            ASpriteInstance.Name         = "ASpriteInstance";
            BbatoirSpriteInstance        = new FlatRedBall.Sprite();
            BbatoirSpriteInstance.Name   = "BbatoirSpriteInstance";
            ISpriteInstance              = new FlatRedBall.Sprite();
            ISpriteInstance.Name         = "ISpriteInstance";
            NtergradeSpriteInstance      = new FlatRedBall.Sprite();
            NtergradeSpriteInstance.Name = "NtergradeSpriteInstance";
            MainMenuGumRuntime           = MainMenuGum.GetGraphicalUiElementByName("this") as AbbatoirIntergrade.GumRuntimes.MainMenuGumRuntime;
            LeftEye = MainMenuGum.GetGraphicalUiElementByName("LeftEye") as AbbatoirIntergrade.GumRuntimes.unique.MainMenuEyeRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #6
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            LoadingScreenGumRuntime = LoadingScreenGum.GetGraphicalUiElementByName("this") as AbbatoirIntergrade.GumRuntimes.LoadingScreenGumRuntime;
            mSavedTargetElapedTime  = FlatRedBallServices.Game.TargetElapsedTime.TotalSeconds;
            FlatRedBall.FlatRedBallServices.Game.TargetElapsedTime = TimeSpan.FromSeconds(.1);


            PostInitialize();
            base.Initialize(addToManagers);
            this.NextScreen = typeof(AbbatoirIntergrade.Screens.GameScreen).FullName;
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #7
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            TimerValue = MiniGameBaseGum.GetGraphicalUiElementByName("TimerValue") as Frbcon2019.GumRuntimes.TextRuntime;
            InstructionsTimeLeftText  = MiniGameBaseGum.GetGraphicalUiElementByName("InstructionsTimeLeftText") as Frbcon2019.GumRuntimes.TextRuntime;
            InstructionsDisplayedText = MiniGameBaseGum.GetGraphicalUiElementByName("Instructions") as Frbcon2019.GumRuntimes.TextRuntime;
            GameTimeLeft           = MiniGameBaseGum.GetGraphicalUiElementByName("GameTimeLeft") as Frbcon2019.GumRuntimes.TextRuntime;
            ButtonInstance         = MiniGameBaseGum.GetGraphicalUiElementByName("ButtonInstance") as Frbcon2019.GumRuntimes.ButtonRuntime;
            MiniGameBaseGumRuntime = MiniGameBaseGum.GetGraphicalUiElementByName("this") as Frbcon2019.GumRuntimes.MiniGameBaseGumRuntime;
            ContentBlocker         = MiniGameBaseGum.GetGraphicalUiElementByName("ContentBlocker") as Frbcon2019.GumRuntimes.ColoredRectangleRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #8
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            TankList                  = new FlatRedBall.Math.PositionedObjectList <GreasyPlatypusSlapper.Entities.Tank>();
            TankList.Name             = "TankList";
            BulletList                = new FlatRedBall.Math.PositionedObjectList <GreasyPlatypusSlapper.Entities.Bullet>();
            BulletList.Name           = "BulletList";
            CameraEntityInstance      = new GreasyPlatypusSlapper.Entities.CameraEntity(ContentManagerName, false);
            CameraEntityInstance.Name = "CameraEntityInstance";
            TreadEffects              = new FlatRedBall.Math.PositionedObjectList <GreasyPlatypusSlapper.Entities.Effects.TreadEffect>();
            TreadEffects.Name         = "TreadEffects";
            PlayerSelectionUIInstance = GameScreenGum.GetGraphicalUiElementByName("PlayerSelectionUIInstance") as GreasyPlatypusSlapper.GumRuntimes.PlayerSelectionUIRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #9
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            LivesValue           = ScoreboardGum.GetGraphicalUiElementByName("LivesValue") as Frbcon2019.GumRuntimes.TextRuntime;
            ScoreValue           = ScoreboardGum.GetGraphicalUiElementByName("ScoreValue") as Frbcon2019.GumRuntimes.TextRuntime;
            TimerValue           = ScoreboardGum.GetGraphicalUiElementByName("TimerValue") as Frbcon2019.GumRuntimes.TextRuntime;
            LivesContainer       = ScoreboardGum.GetGraphicalUiElementByName("LivesContainer") as Frbcon2019.GumRuntimes.ContainerRuntime;
            ScoreboardGumRuntime = ScoreboardGum.GetGraphicalUiElementByName("this") as Frbcon2019.GumRuntimes.ScoreboardGumRuntime;
            DifficultyValue      = ScoreboardGum.GetGraphicalUiElementByName("DifficultyValue") as Frbcon2019.GumRuntimes.TextRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }
Пример #10
0
        public override void Initialize(bool addToManagers)
        {
            LoadStaticContent(ContentManagerName);
            EndingScreenGumInstance     = EndingScreenGum.GetGraphicalUiElementByName("this") as AbbatoirIntergrade.GumRuntimes.EndingScreenGumRuntime;
            EndingTextRuntimeInstance   = EndingScreenGum.GetGraphicalUiElementByName("EndingText") as AbbatoirIntergrade.GumRuntimes.TextRuntime;
            ButtonInstance              = EndingScreenGum.GetGraphicalUiElementByName("ButtonFrameInstance") as AbbatoirIntergrade.GumRuntimes.frames.ButtonFrameRuntime;
            EndingTextContainer         = EndingScreenGum.GetGraphicalUiElementByName("EndingTextContainer") as AbbatoirIntergrade.GumRuntimes.ChatHistoryRuntime;
            CurrentMusicDisplayInstance = EndingScreenGum.GetGraphicalUiElementByName("CurrentMusicDisplayInstance") as AbbatoirIntergrade.GumRuntimes.infodisplays.CurrentMusicDisplayRuntime;
            CreditsContainer            = EndingScreenGum.GetGraphicalUiElementByName("CreditsContainer") as AbbatoirIntergrade.GumRuntimes.ContainerRuntime;


            PostInitialize();
            base.Initialize(addToManagers);
            if (addToManagers)
            {
                AddToManagers();
            }
        }