Exemplo n.º 1
0
        private int GetWeaponDamage()
        {
            Weapon weapon = equipmentManager.GetActiveWeapon();

            if (weapon == null)
            {
                return(0);
            }

            return(weapon.damage);
        }