Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- namespace Svelto.ECS.Internal
- {
- sealed class RemoveEntityImplementor : IRemoveEntityComponent
- {
- public RemoveEntityImplementor(IEntityViewBuilder[] entityViews, int groupID):this(entityViews)
- {
- this.groupID = groupID;
- isInAGroup = true;
- }
-
- internal RemoveEntityImplementor(IEntityViewBuilder[] entityViews)
- {
- removeEntityInfo = new RemoveEntityInfo(entityViews);
- }
-
- readonly internal RemoveEntityInfo removeEntityInfo;
- readonly internal int groupID;
- readonly internal bool isInAGroup;
- }
- }
-
- namespace Svelto.ECS
- {
- public interface IRemoveEntityComponent
- {}
-
- public struct RemoveEntityInfo
- {
- readonly internal IEntityViewBuilder[] entityViewsToBuild;
-
- public RemoveEntityInfo(IEntityViewBuilder[] entityViews) : this()
- {
- this.entityViewsToBuild = entityViews;
- }
- }
- }
|