Esempio n. 1
0
        private int damageHitFunction()
        {
            var damage         = (int)Math.Floor(_playerComponent.CurrentWeaponDamage() * _playerComponent.CurrentDamageScale());
            var positionOffset = new Vector2(0, -18);

            _damageHitsComponent.addNumber(damage, positionOffset);
            return(damage);
        }