MyPolarBear.GameObjects.PolarBear.HitLanded C# (CSharp) Method

HitLanded() public method

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