java.lang.Object
it.polimi.ingsw.am13.ServerMain
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map
<String, PromptCommand> Map associating the command key to the command itselfprivate static final List
<PromptCommand> List of accepted commands from the client command line -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
Generates a help string to be printed via command linestatic void
-
Field Details
-
commandsList
List of accepted commands from the client command line -
commands
Map associating the command key to the command itself
-
-
Constructor Details
-
ServerMain
public ServerMain()
-
-
Method Details
-
main
-
generateHelp
Generates a help string to be printed via command line- Returns:
- Help string for the server app
-