Exemple #1
0
        private void onFinished(CPR cpr)
        {
            TreatedPeds.Add(cpr.Patient, cpr.WasSuccessful);

            if (!cpr.WasSuccessful && cpr.ShouldShowDeathReportWhenFinished)
            {
                DeathManager.Instance.ShowReport(cpr.Patient);
            }
        }
Exemple #2
0
 internal void Start(CPR cpr)
 {
     if (Active.Contains(cpr))
     {
         return;
     }
     Active.Add(cpr);
     cpr.Start();
 }
 protected AITaskPerformCPR(AIController controller, Ped patient) : base(controller)
 {
     cpr = new CPR(patient, Ped);
     CPRManager.Instance.Start(cpr);
 }