Exemplo n.º 1
0
  /**
   * Application init
   *
   * @param args Commandline args
   */
  public static void main(String[] args) {
    try {
      init();
      run();
    } catch (Exception e) {
      e.printStackTrace(System.err);
      Sys.alert(GAME_TITLE, "An error occured and the game will exit.");
    } finally {
      cleanup();
    }

    System.exit(0);
  }