/** * This is a replacement for the World * found in karelworld.jar * * to help you convert your placeWall statements * with the format needed for a kwld text file format. * * @author Chris Thiel * @version Sept 4, 2022 */ public class World { public static void placeEWWall(int str, int ave, int len) { int end = ave + len - 1; String result = "eastwestwalls "+ str + " " +ave + " " + end; System.out.println(result); } public static void placeNSWall(int str, int ave, int len) { int end = str + len - 1; String result = "northsouthwalls " + ave + " " + str + " " + end; System.out.println(result); } }