public void Dispose() { if (TableHud != null) { TableHud.Dispose(); TableHud = null; } }
public void EnsureHud() { if (Config.HudEnable) { if (TableHud == null) { TableHud = new TableHud(this); } } else { if (TableHud != null) { TableHud.Dispose(); TableHud = null; } } }