예제 #1
0
        public override List <IBehaviour> GetFinalBehaviours(IActor forActor)
        {
            //if it requires equipping
            if (Slot != null && !IsEquipped)
            {
                return(new List <IBehaviour>());
            }

            return(new List <IBehaviour>(BaseBehaviours.Union(Adjectives.SelectMany(a => a.GetFinalBehaviours(forActor)))));
        }
예제 #2
0
파일: HasStats.cs 프로젝트: tznind/Wanderer
 public virtual List <IBehaviour> GetFinalBehaviours(IActor forActor)
 {
     return(new List <IBehaviour>(BaseBehaviours.Union(Adjectives.SelectMany(a => a.GetFinalBehaviours(forActor)))));
 }