Пример #1
0
 public void Button1Damage()
 {
     shieldModel.TakeDamage(1);
     shieldView.UpdateStrText(shieldModel.GetStrength());
     shieldView.UpdateIsRepairable(shieldModel.IsRepairable());
     Debug.Log(shieldModel.GetStrength());
 }