public ElementBuilderFactory(EntityIdFactory entityIdFactory, IHitableSphereComputer hitableSphereComputer,
                              IScatterableComputer scatterableComputer)
 {
     _entityIdFactory       = entityIdFactory;
     _hitableSphereComputer = hitableSphereComputer;
     _scatterableComputer   = scatterableComputer;
 }
示例#2
0
 public ElementBuilder(EntityId id, IHitableSphereComputer hitableComputer,
                       IScatterableComputer scatterableComputer)
 {
     _id = id;
     _hitableComputer     = hitableComputer;
     _scatterableComputer = scatterableComputer;
 }
示例#3
0
 public HitableSphere(PositionableSphere sphere, IHitableSphereComputer computer)
 {
     _sphere   = sphere;
     _computer = computer;
 }