public MB(Main game) : base(game) { Order = 1; config = new MBConfig(); }
public static void SetUpConfig() { try { if (!Directory.Exists(configDir)) { Directory.CreateDirectory(configDir); } if (File.Exists(configPath)) { config = MBConfig.Read(configPath); } else { config.Write(configPath); } } catch { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Error in MBConfig.json!"); Console.ResetColor(); } }