Exemplo n.º 1
0
 public BeneficalWard(string name, UnderEffect underEffect, RemoveEffect removeEffect, double requiredSkill)
 {
     m_Name          = name;
     m_UnderEffect   = underEffect;
     m_RemoveEffect  = removeEffect;
     m_requiredSkill = requiredSkill;
 }
Exemplo n.º 2
0
 // ----------------------------------------------------------------------------------------------------------------- //
 private void LikeLogic()
 {
     if (AppHelper.Storage.Contains(AppHelper.PageIndex.ToString()))
     {
         LikeLogo.Visibility = System.Windows.Visibility.Visible;
         ((ApplicationBarIconButton)this.ApplicationBar.Buttons[1]).Text    = "удалить";
         ((ApplicationBarIconButton)this.ApplicationBar.Buttons[1]).IconUri = _uriHeartBreak;
         LikeEffect.Begin();
     }
     else
     {
         ((ApplicationBarIconButton)this.ApplicationBar.Buttons[1]).Text    = "добавить";
         ((ApplicationBarIconButton)this.ApplicationBar.Buttons[1]).IconUri = _uriHeart;
         RemoveEffect.Begin();
     }
 }
Exemplo n.º 3
0
 public BeneficalWard( string name, UnderEffect underEffect, RemoveEffect removeEffect, double requiredSkill )
 {
     m_Name = name;
     m_UnderEffect = underEffect;
     m_RemoveEffect = removeEffect;
     m_requiredSkill = requiredSkill;
 }