extends PanelContainer func set_info(info: CharacterInformation): %Name.text = info.name %Job.text = Constants.Job.find_key(info.job) %Level.text = str(info.level) %Exp.text = str(info.experience) %Hp.text = str(info.maximum_health_points) %Sp.text = str(info.maximum_spell_points) %Str.text = str(info.strength) %Agi.text = str(info.agility) %Vit.text = str(info.vitality) %Int.text = str(info.intelligence) %Dex.text = str(info.dexterity) %Luk.text = str(info.luck) %Map.text = info.map_name.substr(0, info.map_name.length() - 4) func clear(): %Name.text = "" %Job.text = "" %Level.text = "" %Exp.text = "" %Hp.text = "" %Sp.text = "" %Str.text = "" %Agi.text = "" %Vit.text = "" %Int.text = "" %Dex.text = "" %Luk.text = "" %Map.text = ""