Ejemplo n.º 1
0
 public SpellFactory(SpellFactoryInitializer initializer)
 {
     CastingSequence = initializer.CastingSequence.ToArray();
     Name            = initializer.Name;
     Difficulty      = initializer.Difficulty;
     Duration        = initializer.Duration;
     Skill           = initializer.Skill;
     SkillLevel      = initializer.SkillLevel;
 }
Ejemplo n.º 2
0
 public OpenDoorProjectileFactory(SpellFactoryInitializer initializer) : base(initializer)
 {
 }
Ejemplo n.º 3
0
 public ProjectilSpellFactory(SpellFactoryInitializer initializer) : base(initializer)
 {
 }
Ejemplo n.º 4
0
 public PotionSpellFactory(SpellFactoryInitializer initializer, PotionFactory potionFactory, IReadOnlyList <PotionFactory> potionFactories) : base(initializer)
 {
     PotionFactory   = potionFactory;
     PotionFactories = potionFactories;
 }
Ejemplo n.º 5
0
 public MagicTorchSpellFactory(SpellFactoryInitializer initializer, IReadOnlyList <ushort> lightPowerToLightAmount) : base(initializer)
 {
     this.LightPowerToLightAmount = lightPowerToLightAmount;
 }
 public ExplosionProjectileSpellFactory(SpellFactoryInitializer initializer, IRenderersSource renderersSource, Texture2D texture) : base(initializer)
 {
     RenderersSource = renderersSource;
     Texture         = texture;
 }