コード例 #1
0
 public void ChangeHitPoint(int damege)
 {
     _playerModel.ChangeHitPoint(damege);
     if (_playerModel.GetHitPoint() == 0)
     {
         Die();
     }
 }
コード例 #2
0
 public void ChangeHitPoint(int damege)
 {
     playerModel.ChangeHitPoint(damege);
     if (playerModel.GetHitPoint() == 0)
     {
         //Die();
     }
     HealthVisualator();
 }