private void VisualizeAttackDependingOnType(Creep targetCreep) { if (attackEffect != null) { attackEffect.FireBurstOfAllEmitters(); //ncrunch: no coverage } if (AttackType == AttackType.DirectShot || Type == TowerType.Slice) { new InterpolatingProjectile(this, targetCreep, EffectLoader.GetProjectileEffect(Type, AttackType.DirectShot)); } }
public void LoadProjectileEffect() { var projectileEffect = EffectLoader.GetProjectileEffect(TowerType.Water, AttackType.DirectShot); AssertIsValidEffect(projectileEffect); }