public BeneficalWard(string name, UnderEffect underEffect, RemoveEffect removeEffect, double requiredSkill) { m_Name = name; m_UnderEffect = underEffect; m_RemoveEffect = removeEffect; m_requiredSkill = requiredSkill; }
// ----------------------------------------------------------------------------------------------------------------- // 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(); } }
public BeneficalWard( string name, UnderEffect underEffect, RemoveEffect removeEffect, double requiredSkill ) { m_Name = name; m_UnderEffect = underEffect; m_RemoveEffect = removeEffect; m_requiredSkill = requiredSkill; }