MyPolarBear.GameObjects.PolarBear.HitLanded C# (CSharp) Méthode

HitLanded() public méthode

public HitLanded ( Projectile attack, ITargetable hit ) : void
attack Projectile
hit ITargetable
Résultat void
        public void HitLanded(Projectile attack, ITargetable hit)
        {
            //if (bGivingCommands && attack.Type == Power.Fire)
            if (attack.Type == Power.Fire)
            {
                giveAttackCommand(hit.GetTargetType());
            }
        }