extends Resource class_name MajorityJudgmentJudgment export(Resource) var participant setget set_participant, get_participant export(Resource) var candidate setget set_candidate, get_candidate export(Resource) var grade setget set_grade, get_grade func set_participant(__participant:MajorityJudgmentParticipant) -> void: participant = __participant func get_participant() -> MajorityJudgmentParticipant: assert(participant, "Judgment has no participant. Something went horribly WRONG.") return participant func set_candidate(__candidate:MajorityJudgmentCandidate) -> void: candidate = __candidate func get_candidate() -> MajorityJudgmentCandidate: assert(candidate, "Judgment has no candidate. Something went horribly WRONG.") return candidate func set_grade(__grade:MajorityJudgmentGrade) -> void: grade = __grade func get_grade() -> MajorityJudgmentGrade: assert(grade, "Judgment has no grade. Something went horribly WRONG.") return grade