示例#1
0
 public AlertResponseToAnswer(string text, BACKGROUND background, CREW_EMOTION crewEmotrion)
 {
     this.text         = text;
     background        = new BACKGROUND();
     this.background   = background;
     crewEmotrion      = new CREW_EMOTION();
     this.crewEmotrion = crewEmotrion;
 }
示例#2
0
 public void SetEmotion(CREW_EMOTION newMood)
 {
     for (int i = 0; i < MoodObjects.Length; i++)
     {
         GameObject moodObj = MoodObjects[i];
         moodObj.SetActive(i == (int)newMood);
     }
 }
示例#3
0
 public AlertSituation(string text, BACKGROUND background, CREW_EMOTION crewEmotrion, AlertAnswer[] answers)
 {
     this.text         = text;
     background        = new BACKGROUND();
     this.background   = background;
     crewEmotrion      = new CREW_EMOTION();
     this.crewEmotrion = crewEmotrion;
     this.answers      = answers;
 }