Package me.simulation

Class ApplicationMain

java.lang.Object
me.simulation.ApplicationMain

public class ApplicationMain extends Object
Main method to start the simulation application.
  • Constructor Details

    • ApplicationMain

      public ApplicationMain()
  • Method Details

    • main

      Main method to start the simulation application. This method allows the user to select different modes for the simulation, create a custom map, and specify the number of mobs and items. It initializes a `Map` object based on the chosen mode and proceeds with the simulation by calling various methods to display the map, perform the day cycle, and print statistics.
      Parameters:
      args - command-line arguments
      Throws:
      InterruptedException - if the thread is interrupted
      IllegalArgumentException - if the input provided is not valid
      InputMismatchException - if the input provided is of the wrong type