public ProceduralCaveGenerationAbstractFactory() { squareFactory = new SquareFactory(); squareGridFactory = new SquareGridFactory(squareFactory); mapFactory = new MapFactory(); mapPropertiesFactory = new MapPropertiesFactory(); meshFactory = new MeshFactory(); }
public SquareGridFactory(SquareFactory squareFactory) { this.squareFactory = squareFactory; }