private void Start() { squareGridFactory = proceduralCaveGenerationAbstractFactory.SquareGridFactory; meshFactory = proceduralCaveGenerationAbstractFactory.MeshFactory; }
public VmfBspSourceProvider([Import] Lazy <SerialisedObjectFormatter> formatter, [Import] Lazy <MapElementFactory> factory, [Import] Lazy <SquareGridFactory> squareGridFactory) { _formatter = formatter.Value; _factory = factory.Value; _squareGridFactory = squareGridFactory.Value; }
public AddDefaults([Import] SquareGridFactory squareGridFactory) { _squareGridFactory = squareGridFactory; }