Beispiel #1
0
        public ICollection <Entity> GetEntities(NodeCollectorImpl nodeCollector, NodeDescription nodeDescription, Entity key)
        {
            GroupComponent component;

            return(((component = (GroupComponent)((EntityUnsafe)key).GetComponentUnsafe(this.contextComponent)) == null) ? Collections.EmptyList <Entity>() : component.GetGroupMembers(nodeDescription));
        }
Beispiel #2
0
 public ICollection <Entity> GetEntities(NodeCollectorImpl nodeCollector, NodeDescription nodeDescription, Entity key) =>
 nodeCollector.GetEntities(nodeDescription);
Beispiel #3
0
 public ICollection <Entity> GetEntities(NodeCollectorImpl nodeCollector, NodeDescription nodeDescription, Entity key) =>
 !(key as EntityInternal).Contains(nodeDescription) ? Collections.EmptyList <Entity>() : Collections.SingletonList <Entity>(key);