示例#1
0
 public void Clear()
 {
     Stat = null;
     foreach (Ellipse e in wrapPanel.Children)
     {
         e.Visibility = Visibility.Collapsed;
     }
 }
示例#2
0
 public void SetStats(PkmnStat pstat, bool adjustable = true)
 {
     if (pstat == null)
     {
         Clear(); return;
     }
     Initialising = true;
     Adjustable   = adjustable;
     Stat         = pstat;
     UpdateStats();
     Initialising = false;
 }
示例#3
0
 public void SetStats(PkmnStat pstat, PkmnStatCollection parent, bool adjustable = true)
 {
     this.StatParent = parent;
     SetStats(pstat, adjustable);
 }