From e1a3e05d28a3f3e30ee5fc9d5061fb2b8b32a24d Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Fri, 4 Jun 2021 19:54:47 +0200 Subject: [PATCH] doc: added documentation comment for Server mainclass --- .../main/java/uulm/teamname/marvelous/server/Server.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/Server.java b/Server/src/main/java/uulm/teamname/marvelous/server/Server.java index 7cd8256..2801442 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/Server.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/Server.java @@ -19,6 +19,13 @@ import java.nio.file.Path; import java.util.HashMap; 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 static void main(String[] args) {