14 lines
333 B
Python
14 lines
333 B
Python
from .tradeHub import TradeHub
|
|
|
|
class Planet:
|
|
'Contains trade hub'
|
|
def __init__(self, name):
|
|
self.name = name
|
|
self.tradeHub = TradeHub
|
|
def addTradeHub(self, tradeHub):
|
|
self.tradeHub = tradeHub
|
|
def getTradeHub(self):
|
|
return self.tradeHub
|
|
def getName(self):
|
|
return self.name
|