def METHOD_NAME(self, delta_time):
    """ Movement and game logic """
    # Call update on all sprites (The sprites don't do much in this
    # example though.)
    self.coin_list.update()
    # Generate a list of all sprites that collided with the player.
    hit_list = arcade.check_for_collision_with_list(self.player_sprite, self.coin_list)
    # Loop through each colliding sprite, remove it, and add to the score.
    for coin in hit_list:
        coin.remove_from_sprite_lists()
        self.score += 1
    # See if we should go to level 2
    if len(self.coin_list) == 0 and self.level == 1:
        self.level += 1
        self.level_2()
    # See if we should go to level 3
    elif len(self.coin_list) == 0 and self.level == 2:
        self.level += 1
        self.level_3()