Example #1
0
        public void SetHealth(HealthStatesEnum healthState)
        {
            var selectedHealthState = _healthInvoker.GetHealthState((int)healthState);

            _healthReservePoints = selectedHealthState.HealthPoints;
            SetSpeedMovementByHealthState(selectedHealthState);
        }
Example #2
0
        public void SetHealth(HealthStatesEnum healthState)
        {
            IHealthState selectedHealthState = _healthInvoker.GetHealthState((int)healthState);

            _healthReservePoints = (selectedHealthState.HealthPoints);
        }