/** * Load a level file and display it. * * @param args - The first argument is a level file in JSON format * @throws FileNotFoundException */ public static void main(String[] args) throws FileNotFoundException, JSONException { Terrain terrain = LevelIO.load(new File(args[0])); Game game = new Game(terrain); game.run(); }