extends Resource class_name MajorityJudgmentParticipant """ Citizens of the world, unite! """ export(String) var name:String setget set_name, get_name static func make(__name): var participant = load("res://addons/majority_judgment/MajorityJudgmentParticipant.gd").new() participant.set_name(__name) return participant func set_name(__name:String) -> void: # FIXME: sanitize name = __name func get_name() -> String: if null == name: return 'Anonymous' return name