extends LevelState func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void: print("entering level playing") get_tree().paused = false func _handle_input(event: InputEvent) -> void: if event.is_action_pressed("p1_pause"): finished.emit(PAUSED, {"player": 1}) elif event.is_action_pressed("p2_pause"): finished.emit(PAUSED, {"player": 2}) func _state_physics_update(delta: float) -> void: level.camera.follow_gameplay(delta)