8 lines
143 B
GDScript
8 lines
143 B
GDScript
class_name Player
|
|
extends Character
|
|
|
|
var id: String
|
|
|
|
func set_character_name(new_name: String):
|
|
name = new_name
|
|
get_node("Label").text = name |