Example #1
0
 public void GenerateBed()
 {
     // Loop to generate beds
     for (int i = 0; i < beds.Length; i++)
     {
         beds[i] = new Bed();
     }
 }
Example #2
0
 //Method to Assign a patient to a bed
 public void AssignPatient(Patient p, Bed b)
 {
     //Sets the current patient dependant on the Patient passed into the method
     currentPatient = p;
 }