@Deprecated
	public void render(SpriteSheet sheet, int[] pixels, int offset, int row) {
		for (int yTile = yOffset >> 3; yTile <= (yOffset + height) >> 3; yTile++) {
			int yMin = yTile * 8 - yOffset;
			int yMax = yMin + 8;
			if (yMin < 0)
				yMin = 0;
			if (yMax > height)
				yMax = height;

			for (int xTile = xOffset >> 3; xTile <= (xOffset + width) >> 3; xTile++) {
				int xMin = xTile * 8 - xOffset;
				int xMax = xMin + 8;
				if (xMin < 0)
					xMin = 0;
				if (xMax > width)
					xMax = width;

				for (int y = yMin; y < yMax; y++) {
					int sheetPixel = ((y + yOffset) & 15) * sheet.width
							+ ((xMin + xOffset) & 15);
					int tilePixel = offset + xMin + y * row;
					for (int x = xMin; x < xMax; x++) {
						pixels[tilePixel++] = sheet.pixels[sheetPixel++];
					}
				}
			}
		}
	}