Ejemplo n.º 1
0
 public void UnlockKnownDiseaseTreatment(NotepadKnownDiseaseTreatment symptom_treatment)
 {
     if (!this.m_KnownDiseaseTreatments.Contains(symptom_treatment))
     {
         this.m_KnownDiseaseTreatments.Add(symptom_treatment);
     }
 }
Ejemplo n.º 2
0
 public bool IsDiseaseTreatmentUnlocked(NotepadKnownDiseaseTreatment disease_treatment)
 {
     return(this.m_KnownDiseaseTreatments.Contains(disease_treatment));
 }
Ejemplo n.º 3
0
    public void UnlockKnownDiseaseTreatmentFromScenario(string symptom_type_name)
    {
        NotepadKnownDiseaseTreatment symptom_treatment = (NotepadKnownDiseaseTreatment)Enum.Parse(typeof(NotepadKnownDiseaseTreatment), symptom_type_name);

        this.UnlockKnownDiseaseTreatment(symptom_treatment);
    }