public virtual void SpawnHitSparks(TowerType damageType) { var hitEffect = EffectLoader.GetHitEffect(damageType); hitEffect.FireBurstAtRelativePosition(Position); }
public void LoadHitEffect() { var hitEffect = EffectLoader.GetHitEffect(TowerType.Acid); AssertIsValidEffect(hitEffect); }