Exemplo n.º 1
0
 def process(self, event, info):
     next_state = State.process(self, event, info)
     if next_state is not None:
         self.kill()
     return next_state
Exemplo n.º 2
0
 def __init__(self, eventhandler, view, gamethread):
     State.__init__(self, eventhandler, view)
     self.gamethread = gamethread
Exemplo n.º 3
0
 def __init__(self, eventhandler=main.display.buttonhandler.ButtonClickHandler(None, actions=ACTIONS), view=HowToPlayView()):
     State.__init__(self, eventhandler, view)