public void ChangeHitPoint(int damege) { _playerModel.ChangeHitPoint(damege); if (_playerModel.GetHitPoint() == 0) { Die(); } }
public void ChangeHitPoint(int damege) { playerModel.ChangeHitPoint(damege); if (playerModel.GetHitPoint() == 0) { //Die(); } HealthVisualator(); }