예제 #1
0
 public BuilderFactories(IStatFactory statFactory, IReadOnlyList <SkillDefinition> skills)
 {
     ActionBuilders     = new ActionBuilders(statFactory);
     BuffBuilders       = new BuffBuilders(statFactory, skills);
     ChargeTypeBuilders = new ChargeTypeBuilders(statFactory);
     ConditionBuilders  = new ConditionBuilders(statFactory);
     DamageTypeBuilders = new DamageTypeBuilders(statFactory);
     EffectBuilders     = new EffectBuilders(statFactory);
     EntityBuilders     = new EntityBuilders(statFactory);
     EquipmentBuilders  = new EquipmentBuilders(statFactory);
     FormBuilders       = new FormBuilders();
     KeywordBuilders    = new KeywordBuilders();
     SkillBuilders      = new SkillBuilders(statFactory, skills);
     StatBuilders       = new StatBuilders(statFactory);
     ValueBuilders      = new ValueBuilders();
     ItemSlotBuilders   = new ItemSlotBuilders();
 }
예제 #2
0
        public BuilderFactories(SkillDefinitions skills)
        {
            var statFactory = new StatFactory();

            ActionBuilders     = new ActionBuilders(statFactory);
            BuffBuilders       = new BuffBuilders(statFactory, skills);
            ChargeTypeBuilders = new ChargeTypeBuilders(statFactory);
            ConditionBuilders  = new ConditionBuilders(statFactory);
            DamageTypeBuilders = new DamageTypeBuilders(statFactory);
            EffectBuilders     = new EffectBuilders(statFactory);
            EntityBuilders     = new EntityBuilders(statFactory);
            EquipmentBuilders  = new EquipmentBuilders(statFactory);
            FormBuilders       = new FormBuilders();
            KeywordBuilders    = new KeywordBuilders();
            SkillBuilders      = new SkillBuilders(statFactory, skills);
            StatBuilders       = new StatBuilders(statFactory);
            ValueBuilders      = new ValueBuilders();
            MetaStatBuilders   = new MetaStatBuilders(statFactory);
            MatchContexts      = new MatchContexts(statFactory);
        }