namespace MoonTools.ECS; public class Filter { internal FilterSignature Signature; private ComponentDepot ComponentDepot; internal Filter(ComponentDepot componentDepot, HashSet included, HashSet excluded) { ComponentDepot = componentDepot; Signature = new FilterSignature(included, excluded); } public IEnumerable Entities => ComponentDepot.FilterEntities(this); }