Ejemplo n.º 1
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();
            }
        }
 private void AssignReferences()
 {
     ChatFrameInstance = this.GetGraphicalUiElementByName("ChatFrameInstance") as AbbatoirIntergrade.GumRuntimes.frames.ChatFrameRuntime;
     YesButton         = this.GetGraphicalUiElementByName("YesButton") as AbbatoirIntergrade.GumRuntimes.frames.ButtonFrameRuntime;
     YesButton1        = this.GetGraphicalUiElementByName("YesButton1") as AbbatoirIntergrade.GumRuntimes.frames.ButtonFrameRuntime;
 }