public void SetJJ(int max) { if (jjhardpoint == null) { return; } if (max >= 0) { jjhardpoint.Show(); jjhardpoint?.SetText(max); } else { jjhardpoint.Hide(); } }
public void SetJJ(int count, int max) { jjhardpoint?.SetText(count, max); jjhardpoint?.Show(); }