예제 #1
0
 def update(self, dt):
     if(input.is_click(pygame.locals.K_SPACE)):
         director.go_to_menu();
예제 #2
0
 def _update_game_over(self, dt):
     ## Input
     if input.is_click(pygame.locals.K_SPACE):
         director.go_to_menu()
예제 #3
0
 def _on_timer_done(self):
     director.go_to_menu();
예제 #4
0
 def _change_state_gameover_to_menu_screen(self):
     ## Sounds
     sound.stop_all_sounds();
     director.go_to_menu();
예제 #5
0
 def _on_timer_done(self):
     director.go_to_menu()
예제 #6
0
 def _change_state_gameover_to_menu_screen(self):
     ## Sounds
     sound.stop_all_sounds()
     director.go_to_menu()