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)); }
public ICollection <Entity> GetEntities(NodeCollectorImpl nodeCollector, NodeDescription nodeDescription, Entity key) => nodeCollector.GetEntities(nodeDescription);
public ICollection <Entity> GetEntities(NodeCollectorImpl nodeCollector, NodeDescription nodeDescription, Entity key) => !(key as EntityInternal).Contains(nodeDescription) ? Collections.EmptyList <Entity>() : Collections.SingletonList <Entity>(key);