Exemplo n.º 1
0
    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))
Exemplo n.º 2
0
    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))
Exemplo n.º 3
0
 def __init__(self, stateMachine):
     # Calls 'State' constructor
     State.__init__(self)
     self.stateMachine = stateMachine
Exemplo n.º 4
0
 def __init__(self, stateMachine):
     # Calls 'State' constructor
     State.__init__(self)
     self.stateMachine = stateMachine