public int getDirection() {
		if (this.getOneLength() > 1) {
			Logger
					.printLine("ERROR: Requested direction of Offset longer than 1");
		}
		if (this.xOffset == 1)
			return 0;
		else if (this.yOffset == 1)
			return 1;
		else if (this.xOffset == -1)
			return 2;
		else if (this.yOffset == -1)
			return 3;
		else
			return 4;
	}