private void onFinished(CPR cpr) { TreatedPeds.Add(cpr.Patient, cpr.WasSuccessful); if (!cpr.WasSuccessful && cpr.ShouldShowDeathReportWhenFinished) { DeathManager.Instance.ShowReport(cpr.Patient); } }
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); }