Got configurables done through DrawConfigurables. This might be hackish?
[VOID.git] / IVOID_Module.cs
blob:a/IVOID_Module.cs -> blob:b/IVOID_Module.cs
--- a/IVOID_Module.cs
+++ b/IVOID_Module.cs
@@ -24,8 +24,8 @@
 {
 	public interface IVOID_Module
 	{
-		bool hasConfigurables { get; }
-		bool toggleActive { get; }
+		string Name { get; }
+		bool toggleActive { get; set; }
 		bool guiRunning { get; }
 
 		void DrawGUI();
@@ -36,7 +36,15 @@
 
 		void LoadConfig();
 
-		void SaveConfig();
+		void _SaveToConfig(KSP.IO.PluginConfiguration config);
 	}
+
+	public interface IVOID_BehaviorModule : IVOID_Module
+	{
+		void Update();
+		void FixedUpdate();
+	}
+
+	public interface IVOID_EditorModule : IVOID_Module {}
 }