Applying The Appraisal Theory Of Emotionto Human-Agent Interaction