public Patient() { Random rnd = new Random(); if (rnd.Next() % 2 == 0) { state = PatientStates.Healthy; } else { state = PatientStates.Sick; } num++; name = GenerateName(); }
public void SetSick() { state = PatientStates.Sick; }