First pass at the Oribtal module port.
[VOID.git] / VOID_Module.cs
blob:a/VOID_Module.cs -> blob:b/VOID_Module.cs
--- a/VOID_Module.cs
+++ b/VOID_Module.cs
@@ -33,21 +33,12 @@
 		[AVOID_SaveValue("Active")]
 		protected VOID_SaveValue<bool> _Active = true;
 		protected bool _Running = false;
-		protected bool _hasConfigurables = false;
 
 		protected string _Name;
 
 		/*
 		 * Properties
 		 * */
-		public virtual bool hasConfigurables
-		{
-			get
-			{
-				return this._hasConfigurables;
-			}
-		}
-
 		public virtual bool toggleActive
 		{
 			get
@@ -73,6 +64,14 @@
 			get
 			{
 				return this._Name;
+			}
+		}
+
+		public virtual Vessel vessel
+		{
+			get
+			{
+				return FlightGlobals.ActiveVessel;
 			}
 		}