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; }
public void SetEmotion(CREW_EMOTION newMood) { for (int i = 0; i < MoodObjects.Length; i++) { GameObject moodObj = MoodObjects[i]; moodObj.SetActive(i == (int)newMood); } }
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; }