class_name Player extends Character signal name_changed(new_name: String) var id: String func set_player_name(new_name: String): name = new_name name_changed.emit(new_name)