public EditableConversationNode() { parents = new List <EditableConversationNode>(); parentUIDs = new List <int>(); EditorInfo = new EditorArgs { xPos = 0, yPos = 0, isRoot = false }; }
private void EditorArgs_Init(object sender, EventArgs e) { var ini = new INIFile(); ini.Load(appconfig + "LauncherConfig.ini"); if (ini.HasSetting("ProjectConfiguration", "EditorArguments")) { var editorArgs = ini.GetValue("ProjectConfiguration", "EditorArguments").ToString(); editorArguments = editorArgs; EditorArgs.AppendText(editorArgs); Console.WriteLine("Populated element: EditorArgs"); } else { Console.WriteLine("WARNING: No key defined in configuration file."); } }