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