Skip to content

Instantly share code, notes, and snippets.

@jtkorb
Created April 19, 2013 09:51
Show Gist options
  • Save jtkorb/5419313 to your computer and use it in GitHub Desktop.
Save jtkorb/5419313 to your computer and use it in GitHub Desktop.
public class Constants {
/**
* The list of the locations currently supported by the system.
*/
public static final String[] locations = { "LWSN", "PMU", "CL50", "ARMS",
"PHYS", "MSEE", "EE", "BRNG", "WTHR", "ELLT", "STEW", "UNIV", "HAAS",
"NUCL", "PUSH" };
/**
* The coordinates of those locations relative to the CampuseCropped.pn map.
* Coordinates are stored in the respective order of the locations. Each
* entry is an array of 2 elements, the first element is the x coordinate
* and the second element is the y coordinate.
*/
public static final int[][] locationsCoordinates = { { 470, 785 },
{ 1430, 1370 }, { 780, 1070 }, { 780, 85 }, { 1000, 230 },
{ 1200, 450 }, { 1310, 580 }, { 575, 1290 }, { 1090, 1070 },
{ 780, 755 }, { 1100, 1370 }, { 750, 1300 }, { 565, 975 },
{ 1440, 900 }, { 585, 200 } };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment