コード例 #1
0
        public LegacyFactories(DungeonData data, IRenderersSource renderersSource)
        {
            Data            = data;
            RenderersSource = renderersSource;

            Skills                    = InitSkills();
            FightActions              = GetFightActionsFactories();
            ActionCombos              = GetComboActions();
            WeaponFactories           = InitWeaponFactories();
            ClothFactories            = InitClothFactories();
            ContainerFactories        = InitContainerFactories();
            ScrollFactories           = InitScrollFactories();
            MiscFactories             = InitMiscFactories();
            PotionFactories           = new PotionFactoriesBuilder(this).InitPotionFactories();
            CreatureFactories         = InitCreatureFactories();
            PowerSymbol               = InitPowerSymbols();
            SpellSymbols              = InitSpellSymbols();
            LightPowerToLightAmount   = GetLightPowers();
            PaletteIndexToLightAmount = GetLightToPaleteMaping();

            SpellFactories = new LegacySpellCreator(this).InitSpellFactories();
        }
コード例 #2
0
 public ThrowActionFactory(string name, int experienceGain, int defenseModifer, int hitProbability, int damage, int fatigue, ISkillFactory skillIndex, int stamina, IRenderersSource renderers) : base(name, experienceGain, defenseModifer, hitProbability, damage, fatigue, skillIndex, stamina)
 {
     Renderers = renderers;
 }
コード例 #3
0
 public ExplosionProjectileSpellFactory(SpellFactoryInitializer initializer, IRenderersSource renderersSource, Texture2D texture) : base(initializer)
 {
     RenderersSource = renderersSource;
     Texture         = texture;
 }