Beispiel #1
0
        public IBuilderCollection Resolve(ResolveContext context)
        {
            var buffs = _buffs.Select(b => b.Resolve(context)).ToList();

            return(new BuffBuilderCollection(_statFactory, buffs, _restrictionsBuilder.Resolve(context),
                                             _source, _target));
        }
 public ICoreStatBuilder Resolve(ResolveContext context) =>
 new BuffCoreStatBuilder(
     _buffs.Select(b => b.Resolve(context)).ToList(),
     _statFactory.AndThen(b => b.Resolve(context)),
     _restrictionsBuilder.Resolve(context));