Experimental generic struct stuff, mostly.
[VOID.git] / IVOID_Module.cs
blob:a/IVOID_Module.cs -> blob:b/IVOID_Module.cs
--- a/IVOID_Module.cs
+++ b/IVOID_Module.cs
@@ -24,17 +24,27 @@
 {
 	public interface IVOID_Module
 	{
-		bool hasGUIConfig { get; }
-		bool toggleActive { get; }
+		string Name { get; }
+		bool toggleActive { get; set; }
 		bool guiRunning { get; }
 
 		void DrawGUI();
 		void StartGUI();
 		void StopGUI();
 
+		void DrawConfigurables();
+
 		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 {}
 }