diff --git a/project1/src/project1/Map.java b/project1/src/project1/Map.java new file mode 100644 index 0000000..7164bf6 --- /dev/null +++ b/project1/src/project1/Map.java @@ -0,0 +1,22 @@ +package project1; + +/** + * + * @author Alden + */ +public class Map { + + //Base map, contains a grid + //the two dimensional array allows us to interpret + // x,y coordinates as the locations in the array. + private static int ID; + private static String[][] grid; + + public Map(String[][] newMap, int identifier){ + grid = newMap; + ID = identifier; + } + public String toString(){ + return "" + ID; + } +}