Exemplo n.º 1
0
 public void RefreshCurrentElement()
 {
     if (GluxManager.CurrentElement != null)
     {
         GluxManager.ShowElement(GluxManager.CurrentElement.Name);
     }
 }
Exemplo n.º 2
0
 public void UnloadGlux()
 {
     if (ShowDebugInfo)
     {
         FlatRedBall.Debugging.Debugger.CommandLineWrite("Unloading Glux");
     }
     GluxManager.UnloadGlux();
 }
Exemplo n.º 3
0
 public void LoadGluxFile(string file)
 {
     if (ShowDebugInfo)
     {
         FlatRedBall.Debugging.Debugger.CommandLineWrite("Loading Glux: " + file);
     }
     GluxManager.LoadGlux(file);
 }
Exemplo n.º 4
0
        public void RefreshFile(string fileName)
        {
            if (ShowDebugInfo)
            {
                FlatRedBall.Debugging.Debugger.CommandLineWrite("Refreshing file " + fileName);
            }

            GluxManager.RefreshFile(fileName);
        }
Exemplo n.º 5
0
        public void RefreshGlueProject()
        {
            if (ShowDebugInfo)
            {
                FlatRedBall.Debugging.Debugger.CommandLineWrite("Refresh Glue Project");
            }
            bool onlyReloadVariables = false;

            GluxManager.RefreshGlueProject(onlyReloadVariables);
        }
Exemplo n.º 6
0
 public void SetState(string name)
 {
     if (GluxManager.CurrentElement != null)
     {
         if (ShowDebugInfo)
         {
             FlatRedBall.Debugging.Debugger.CommandLineWrite("Set State " + name);
         }
         GluxManager.ShowState(name);
     }
 }
Exemplo n.º 7
0
        public void ShowElement(string name)
        {
            if (ShowDebugInfo)
            {
                FlatRedBall.Debugging.Debugger.CommandLineWrite("Show element " + name);
            }
            mLastElementShown = name;

            if (GluxManager.CurrentElementName != name)
            {
                GluxManager.ShowElement(name);
            }
        }
Exemplo n.º 8
0
 public void ExecuteScript(string script)
 {
     GluxManager.ReceiveScript(script);
 }
Exemplo n.º 9
0
        public void RefreshVariables()
        {
            bool onlyReloadVariables = true;

            GluxManager.RefreshGlueProject(onlyReloadVariables);
        }