java.lang.Object
it.polimi.ingsw.am13.client.ClientMain
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String[]
Command line arguments with which the app was calledprivate 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 NetworkHandler
initConnection
(View view) static void
-
Field Details
-
argsAtLaunch
Command line arguments with which the app was called -
commandsList
List of accepted commands from the client command line -
commands
Map associating the command key to the command itself
-
-
Constructor Details
-
ClientMain
public ClientMain()
-
-
Method Details
-
main
-
initConnection
-
generateHelp
Generates a help string to be printed via command line- Returns:
- Help string for the client app
-