Class ServerMain

java.lang.Object
it.polimi.ingsw.am13.ServerMain

public class ServerMain extends Object
  • Field Details

    • 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

    • ServerMain

      public ServerMain()
  • Method Details

    • main

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

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