Пример #1
0
        protected override void Fire(Vector2 minionPosition, Vector2 towerPosition)
        {
            AmorArrow wa = new AmorArrow();
            wa.Fire(towerPosition, minionPosition, 0);
            WorldMap.Instance.AddProjectile(wa);

            base.Fire(minionPosition, towerPosition);
        }
Пример #2
0
        protected override void Fire(Vector2 minionPosition, Vector2 towerPosition)
        {
            AmorArrow wa = new AmorArrow();
            wa.Fire(towerPosition, minionPosition, 0);
            WorldMap.Instance.AddProjectile(wa);

            AmorArrow wa2 = new AmorArrow();
            wa2.Fire(towerPosition, minionPosition, 0.1f);
            WorldMap.Instance.AddProjectile(wa2);

            AmorArrow wa3 = new AmorArrow();
            wa3.Fire(towerPosition, minionPosition, -0.1f);
            WorldMap.Instance.AddProjectile(wa3);

            AmorArrow wa4 = new AmorArrow();
            wa4.Fire(towerPosition, minionPosition, -0.2f);
            WorldMap.Instance.AddProjectile(wa4);

            AmorArrow wa5 = new AmorArrow();
            wa5.Fire(towerPosition, minionPosition, 0.2f);
            WorldMap.Instance.AddProjectile(wa5);

            base.Fire(minionPosition, towerPosition);
        }