Example #1
0
        public bool IsEqual(PortraitInfo info)
        {
            if (null == info)
            {
                return(false);
            }

            return(info.portraitType == portraitType && info.characterType == characterType && info.emotionType == emotionType);
        }
Example #2
0
 public DialogueScript(PortraitPosition portrait, CharacterType character, EmotionType emotion, string message)
     : this(message)
 {
     portraitInfo = new PortraitInfo(portrait, character, emotion);
 }