class_name Player extends Character signal name_changed(new_name: String) var id: String var movement: MovementComponent func _enter_tree(): movement = get_node("Movement") func set_player_name(new_name: String): name = new_name name_changed.emit(new_name)