Package com.mg105.interface_adapters.map
Class MapGeneratorInterpreter
java.lang.Object
com.mg105.interface_adapters.map.MapGeneratorInterpreter
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionMapGeneratorInterpreter
(@NotNull MapGeneratorInterface generator) Create a new MapGeneratorInterpreter. -
Method Summary
-
Constructor Details
-
MapGeneratorInterpreter
Create a new MapGeneratorInterpreter.- Parameters:
generator
- the generator that will be used to generate a new map.
-
-
Method Details
-
generateMap
public void generateMap()Generate (or re-generate) the map.- Specified by:
generateMap
in interfaceMapGeneratorInterpreterInterface
-