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(); }
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; }
public ExplosionProjectileSpellFactory(SpellFactoryInitializer initializer, IRenderersSource renderersSource, Texture2D texture) : base(initializer) { RenderersSource = renderersSource; Texture = texture; }