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