def __init__(self, stateMachine, db): # Calls 'State' constructor State.__init__(self) self.stateMachine = stateMachine # Create 'TitleMenu' for this state and add to the 'MenuManager' MenuManager.addMenu("TitleMenu", TitleMenu(db))
def __init__(self, stateMachine): # Calls 'State' constructor State.__init__(self) self.stateMachine = stateMachine