private IList <IEffectSpriteInfo> ResolveSpellEffect(HardCodedSpellGraphic effect) { if (_spellEffects.ContainsKey(effect)) { var retList = _spellEffects[effect]; foreach (var item in retList) { item.Restart(); } return(new List <IEffectSpriteInfo>(retList)); } //not implemented spell graphics will just not render anything return(new IEffectSpriteInfo[] { }); }
private IList<IEffectSpriteInfo> ResolveSpellEffect(HardCodedSpellGraphic effect) { if (_spellEffects.ContainsKey(effect)) { var retList = _spellEffects[effect]; foreach (var item in retList) item.Restart(); return new List<IEffectSpriteInfo>(retList); } //not implemented spell graphics will just not render anything return new IEffectSpriteInfo[] { }; }