Class main

java.lang.Object
name.moore.kevin.ze.main

public class main extends Object
The main entry point into the game. Responsibility is to parse any command line arguments and config files, initialise logging and to start/stop the singleton game. This is all rather generic regardless of the actual game being started.
Author:
Kevin Moore <dev@kevin.moore.name>
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • configf

      private File configf
      Mandatory configuration file defaulting to on the classpath
    • scriptf

      private File scriptf
  • Constructor Details

    • main

      public main()
  • Method Details

    • start

      public int start(String[] args)
      Parameters:
      args - command line arguments
      Returns:
      0 for success, 1 for general failure aka tldp
      See Also:
      tldp
    • main

      public static void main(String[] args)
      Code entry point.
      Parameters:
      args - the command line arguments