remove broken overrides

This commit is contained in:
Mikhail 2024-02-11 00:43:46 +08:00
parent 91370afce9
commit 88bc3355b7

View File

@ -30,29 +30,6 @@
aspect = executor.Aspect; aspect = executor.Aspect;
return executor.ExecuteFor(span); return executor.ExecuteFor(span);
} }
public static EcsSpan Where<TCollection, TAspect>(this TCollection entities)
where TAspect : EcsAspect
where TCollection : IEntitiesCollection
{
return entities.ToSpan().Where<TAspect>();
}
public static EcsSpan Where<TAspect>(this EcsReadonlyGroup group)
where TAspect : EcsAspect
{
return group.ToSpan().Where<TAspect>();
}
public static EcsSpan Where<TAspect>(this EcsSpan span)
where TAspect : EcsAspect
{
EcsWorld world = span.World;
if (world.IsEnableReleaseDelEntBuffer)
{
world.ReleaseDelEntityBufferAll();
}
return world.GetExecutor<EcsWhereToGroupExecutor<TAspect>>().ExecuteFor(span);
}
#endregion #endregion
#region WhereToGroup #region WhereToGroup
@ -79,29 +56,6 @@
aspect = executor.Aspect; aspect = executor.Aspect;
return executor.ExecuteFor(span); return executor.ExecuteFor(span);
} }
public static EcsReadonlyGroup WhereToGroup<TCollection, TAspect>(this TCollection entities)
where TAspect : EcsAspect
where TCollection : IEntitiesCollection
{
return entities.ToSpan().WhereToGroup<TAspect>();
}
public static EcsReadonlyGroup WhereToGroup<TAspect>(this EcsReadonlyGroup group)
where TAspect : EcsAspect
{
return group.ToSpan().WhereToGroup<TAspect>();
}
public static EcsReadonlyGroup WhereToGroup<TAspect>(this EcsSpan span)
where TAspect : EcsAspect
{
EcsWorld world = span.World;
if (world.IsEnableReleaseDelEntBuffer)
{
world.ReleaseDelEntityBufferAll();
}
return world.GetExecutor<EcsWhereToGroupExecutor<TAspect>>().ExecuteFor(span);
}
#endregion #endregion
} }
} }