private void UpdateContent() { Children.Clear(); foreach (var t in _organism.GetStats()) { AddChild(new AttributeElement(t.Item1, t.Item2), AnchorDirection.Left | AnchorDirection.Top, Vector2.Zero); } SetLayout(); }
private void UpdateContent() { Children.Clear(); foreach (var t in _organism.GetStats()) { AddChild(new AttributeElement(t.Item1, t.Item2), AnchorDirection.Left | AnchorDirection.Top, Vector2.Zero); } SetLayout(); }