public SDSFactory(Int3 sector, Shard.EntityChange.ExecutionContext ctx, Int3 space) { box = Box.OffsetSize(new Vec3(sector), Vec3.One, sector + 1 >= space); pool = new EntityPool(ctx); this.sector = sector; }
public static EntityPool RandomDefaultPool(int numEntities, Shard.EntityChange.ExecutionContext ctx) { return(new EntityPool(EntityPoolTests.CreateEntities(100, i => new ConsistentLogic()), ctx)); }