Class MapGeneratorInterpreter

java.lang.Object
com.mg105.interface_adapters.map.MapGeneratorInterpreter
All Implemented Interfaces:
MapGeneratorInterpreterInterface

public class MapGeneratorInterpreter extends Object implements MapGeneratorInterpreterInterface
MapGeneratorInterpreter asks as a thin interface adapter whose sole purpose is to maintain clean architecture. All it does is pass control on to the use case component of map generation.
  • Constructor Details

    • MapGeneratorInterpreter

      public MapGeneratorInterpreter(@NotNull @NotNull MapGeneratorInterface generator)
      Create a new MapGeneratorInterpreter.
      Parameters:
      generator - the generator that will be used to generate a new map.
  • Method Details