Class ClientMain

java.lang.Object
it.polimi.ingsw.am13.client.ClientMain

public class ClientMain extends Object
  • Field Details

    • argsAtLaunch

      public static String[] argsAtLaunch
      Command line arguments with which the app was called
    • commandsList

      private static final List<PromptCommand> commandsList
      List of accepted commands from the client command line
    • commands

      private static final Map<String,PromptCommand> commands
      Map associating the command key to the command itself
  • Constructor Details

    • ClientMain

      public ClientMain()
  • Method Details

    • main

      public static void main(String[] args)
    • initConnection

      public static NetworkHandler initConnection(View view)
    • generateHelp

      private static String generateHelp()
      Generates a help string to be printed via command line
      Returns:
      Help string for the client app