Orbit: So many changes. Fixed the update and output code in both
[Orbitizer.git] / Body.py
blob:a/Body.py -> blob:b/Body.py
--- a/Body.py
+++ b/Body.py
@@ -5,10 +5,11 @@
 

 class Body():

 	# Mass in kg, Radius in m.

-	def __init__(self, Name, Mass = None, Radius = None):

+	def __init__(self, Name, Mass = None, Radius = None, Orbit = None):

 		self.Name = Name

 		self.Mass = Mass

 		self.Radius = Radius

+		self.Orbit = Orbit

 	

 	# Gravitational parameter µ in m³/s²

 	def GravParm(self):