public bool IsEqual(PortraitInfo info) { if (null == info) { return(false); } return(info.portraitType == portraitType && info.characterType == characterType && info.emotionType == emotionType); }
public DialogueScript(PortraitPosition portrait, CharacterType character, EmotionType emotion, string message) : this(message) { portraitInfo = new PortraitInfo(portrait, character, emotion); }