Exemplo n.º 1
0
    /// <summary>
    /// Add a new patient
    /// </summary>
    /// <param name="p">Patient</param>
    public void PatientObjectPatientAdd(Patient p)
    {
        patient = p;
        p.PatientHotspot(this);
        p.PersonMove(locationPatient, tag, true, this);

        Debug.Log(gameObject + " has added patient " + p);
        OfficeObjectSetReadyState(true); //handled inside of the person class now.

        //Hotfix for now. Ron Come back and change this!!!
        if (CompareTag("ExamRoom"))
        {
            (this as ExamRoom).Computer().Highlight(true);
        }
    }