private RenderableObject generateShape(Scanner inFile) {
		Point loc = null;
		RenderableShape rs = new RenderableShape(loc);
		String current = inFile.next();
		while (inFile.hasNext()
				&& !(isCloseTag(current) && parseTag(current) == LegalTag.Object)) {
			if (isOpenTag(current)) {
				switch (parseTag(current)) {
				case Location:
					loc = new Point(inFile.nextInt(), inFile.nextInt());
					rs.setLocation(loc);
					break;
				case Line:
					rs.add(generateLine(inFile));
					break;
				default:
					break;
				}
			}
			current = inFile.next();
		}
		return rs;
	}