Esempio n. 1
0
 public void OnUpdateLives()
 {
     if (shieldView != null)
     {
         shieldView.UpdateState(Titan.Shield.Capacity);
     }
     if (livesView != null)
     {
         var armor  = Titan.Armor;
         var shield = Titan.Shield;
         livesView.UpdateState(armor.Value, armor.MaxValue, shield.Capacity, shield.MaxValue);
     }
 }