public static Spell New(SpellTemplate template, Solver solver) { if (solver.NeedsDisplayCalculations || solver.ArraySet == null) { return(new Spell(template)); } else { Spell spell = solver.ArraySet.NewSpell(); spell.Initialize(template); return(spell); } }
public void Initialize(SpellTemplate template) { this.template = template; cycle = null; }
public Spell(SpellTemplate template) { this.template = template; }
public AoeSpell(SpellTemplate template) : base(template) { }