public void RemoveHUDComponent(string componentName, HUDComponent component) { if (componentList.ContainsKey(componentName)) { componentList.Remove(componentName); } }
public void AddHUDComponent(string componentName, HUDComponent component) { componentList.Add(componentName, component); }