Beispiel #1
0
 def handle_event(self, event):
     if events.is_select_event(event):
         self._game_container.start_new_game(1)
         self._change_screen_method(self._destination)
         self._world.switch_to_game()
Beispiel #2
0
 def handle_event(self, event):
     if events.is_select_event(event):
         self._change_screen_method(self._destination)
Beispiel #3
0
 def handle_event(self, event):
     if events.is_select_event(event):
         self._world.quit()
Beispiel #4
0
 def handle_event(self, event):
     if events.is_select_event(event):
         self._world.switch_to_game()
Beispiel #5
0
 def handle_event(self, event):
     if events.is_select_event(event):
         players = self._get_players_method()
         self._game_container.start_new_game(players)
         self._world.switch_to_game()