public void SetMainAssembly(Assembly entryAssembly)
 {
     this.machine = XmlMachine.Create();
     this.commandLine = Environment.CommandLine;
     if (entryAssembly != null)
     {
         this.entryAssemblyLocation = Path.GetFileName(entryAssembly.Location);
         this.entryAssemblyName = entryAssembly.GetName().Name;
     }
 }
    public GameLayerManager()
    {
        XmlMachine x = new XmlMachine("./Xml/Game.fnmx");

        layers_ = x.GetXml();

        foreach (KeyValuePair <string, Layer> keyValPai in layers_)
        {
            Debug.Items.Instance.ParamAdd(keyValPai.Key, keyValPai.Value);
        }

        Debug.Items.Instance.ParamAdd("MousePoint", MousePoint.Instance);
        Debug.Items.Instance.ParamAdd("ReloadConfig", "");
        Debug.Items.Instance.ParamAdd("ReloadScript", "");

        layers_.Add("DebugMenuLayer", new DebugMenuLayer());
        layers_.Add("DebugItemsLayer", new DebugItemsLayer());

        isNextMessage_ = false;
    }
    public SettingLayerManager()
    {
        XmlMachine x = new XmlMachine("./Xml/Setting.fnmx");

        layers_ = x.GetXml();
    }
    public TitleLayerManager()
    {
        XmlMachine x = new XmlMachine("./Xml/Title.fnmx");

        layers_ = x.GetXml();
    }