Beispiel #1
0
 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;
 }
Beispiel #2
0
 public static EntityPool RandomDefaultPool(int numEntities, Shard.EntityChange.ExecutionContext ctx)
 {
     return(new EntityPool(EntityPoolTests.CreateEntities(100, i => new ConsistentLogic()), ctx));
 }