doc: added documentation comment for Server mainclass

This commit is contained in:
Yannik Bretschneider 2021-06-04 19:54:47 +02:00
parent b37737f073
commit e1a3e05d28

View File

@ -19,6 +19,13 @@ import java.nio.file.Path;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
/**
* The MainClass of the Server application. The main responsibility of this class is to parse command line arguments,
* set the log level, load the configuration files, and create and manage the threads that make up the server itself.
* To run the server edit your IntelliJ run config, and enter
* {@code -c .\configs\marvelheros.character.json -m .\configs\matchconfig_1.game.json
* -s .\configs\asgard.scenario.json -v} into the arguments field.
*/
public class Server { public class Server {
public static void main(String[] args) { public static void main(String[] args) {