public Entity AddHashSet(System.Collections.Generic.HashSet <string> newHashset)
        {
            var component = new HashSetComponent();

            component.hashset = newHashset;
            return(AddHashSet(component));
        }
 public Entity ReplaceHashSet(System.Collections.Generic.HashSet<string> newHashset)
 {
     HashSetComponent component;
     if (hasHashSet) {
         WillRemoveComponent(ComponentIds.HashSet);
         component = hashSet;
     } else {
         component = new HashSetComponent();
     }
     component.hashset = newHashset;
     return ReplaceComponent(ComponentIds.HashSet, component);
 }
        public Entity ReplaceHashSet(System.Collections.Generic.HashSet <string> newHashset)
        {
            HashSetComponent component;

            if (hasHashSet)
            {
                WillRemoveComponent(ComponentIds.HashSet);
                component = hashSet;
            }
            else
            {
                component = new HashSetComponent();
            }
            component.hashset = newHashset;
            return(ReplaceComponent(ComponentIds.HashSet, component));
        }
 public Entity AddHashSet(HashSetComponent component)
 {
     return(AddComponent(ComponentIds.HashSet, component));
 }
 public Entity AddHashSet(System.Collections.Generic.HashSet<string> newHashset)
 {
     var component = new HashSetComponent();
     component.hashset = newHashset;
     return AddHashSet(component);
 }
 public Entity AddHashSet(HashSetComponent component)
 {
     return AddComponent(ComponentIds.HashSet, component);
 }