public bool RemoveComponent(NetComponent component)
 {
     return(components.Remove(component.GetType()));
 }
 public void AddComponent(NetComponent component)
 {
     components.Add(component.GetType(), component);
 }