Ejemplo n.º 1
0
 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));
     }
 }
Ejemplo n.º 2
0
        public void LoadProjectileEffect()
        {
            var projectileEffect = EffectLoader.GetProjectileEffect(TowerType.Water, AttackType.DirectShot);

            AssertIsValidEffect(projectileEffect);
        }