Package me.simulation
Class ApplicationMain
java.lang.Object
me.simulation.ApplicationMain
Main method to start the simulation application.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ApplicationMain
public ApplicationMain()
-
-
Method Details
-
main
public static void main(String[] args) throws InterruptedException, IllegalArgumentException, InputMismatchException 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 interruptedIllegalArgumentException
- if the input provided is not validInputMismatchException
- if the input provided is of the wrong type
-