public static IGroup GetGroup <T1, T2, T3, T4>(this IContext context) where T1 : IComponent where T2 : IComponent where T3 : IComponent where T4 : IComponent { return(context.GetGroup(MatcherGenerator.AllOf <T1, T2, T3, T4>())); }
private static IEntity GetEntity <T>(this IContext context) where T : IComponent { return(context.GetGroup(MatcherGenerator.AllOf <T>()).GetSingleEntity()); }
public static IGroup GetGroup <T>(this IContext context) where T : IComponent { return(context.GetGroup(MatcherGenerator.AllOf <T>())); }