private int getCurrentY(Node node2, int edgeNumber) {
		if (edgeNumber == 0) {
			return 0;
		} else if (edgeNumber == 1) {
			if (node2.getCorridor((heading + 1) % 4).getWeight() == 1) {
				return 0;
			} else {
				return 4;
			}
		} else if (edgeNumber == 2) {
			return 4;
		} else if (edgeNumber == 3) {

			if (node2.getCorridor((heading + 1) % 4).getWeight() == 1) {
				return 3;
			} else {
				return 0;
			}
		}

		return -1;
	}