Class ReplayGeneratorInterpreter

java.lang.Object
com.mg105.interface_adapters.ReplayGeneratorInterpreter

public class ReplayGeneratorInterpreter extends Object
ReplayGenerator 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 game replay generation.
  • Constructor Details

    • ReplayGeneratorInterpreter

      public ReplayGeneratorInterpreter(@NotNull @NotNull ReplayGenerator replayGenerator)
      Parameters:
      replayGenerator - the replayGenerator that would be used to replay the game.
  • Method Details

    • replayGenerateMap

      public void replayGenerateMap()
      Replay the game.