Classes/Generator/HeightmapGeneratorInterface.php
<?php
namespace ChristianEssl\LandmapGeneration\Generator;
use ChristianEssl\LandmapGeneration\Struct\Map;
use ChristianEssl\LandmapGeneration\Settings\GeneratorSettingsInterface;
/**
* Interface for the HeightmapGenerator, in case an alternative algorithm is needed in the future
*/
interface HeightmapGeneratorInterface
{
public function applySettings(GeneratorSettingsInterface $settings): void;
public function createHeightmap(Map $map): array;
}