示例#1
0
        public List <CCharacterTrait> Hates(CCharacterTraitDictionary _dictionary)
        {
            List <CCharacterTrait> hates = new List <CCharacterTrait>();

            foreach (int hate in this.hateList_)
            {
                hates.Add(_dictionary[hate]);
            }

            return(hates);
        }
示例#2
0
        public List <CCharacterTrait> Likes(CCharacterTraitDictionary _dictionary)
        {
            List <CCharacterTrait> likes = new List <CCharacterTrait>();

            foreach (int like in this.likeList_)
            {
                likes.Add(_dictionary[like]);
            }

            return(likes);
        }