Entitas  0.40.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
GroupExtension.cs
1 namespace Entitas {
2 
3  public static class GroupExtension {
4 
5  /// Creates an Collector for this group.
6  public static Collector<TEntity> CreateCollector<TEntity>(this IGroup<TEntity> group, GroupEvent groupEvent = GroupEvent.Added)
7  where TEntity : class, IEntity, new() {
8  return new Collector<TEntity>(group, groupEvent);
9  }
10  }
11 }
static Collector< TEntity > CreateCollector< TEntity >(this IGroup< TEntity > group, GroupEvent groupEvent=GroupEvent.Added)
Creates an Collector for this group.