def on_update(self, delta_time: float):
    'Movement and game logic.'
    self.timer += delta_time
    self.update_player_velocity()
    self.player_sprite.update()
    self.physics_engine.update()
    self.player_coin_collision()
    self.fell_off_map()
    self.touched_dont_touch()
    self.at_end_of_level()
    self.center_camera_to_player()
Movement and game logic.
def on_update(self, delta_time: float):
    
    self.timer += delta_time
    self.update_player_velocity()
    self.player_sprite.update()
    self.physics_engine.update()
    self.player_coin_collision()
    self.fell_off_map()
    self.touched_dont_touch()
    self.at_end_of_level()
    self.center_camera_to_player()