private void animateTexture(int textureId) {
		if (!lowMemory) {
			if (Rasterizer.textureLastUsed[17] >= textureId) {
				Background background = Rasterizer.textureImages[17];
				int area = background.imageWidth * background.imageHeight - 1;
				int difference = background.imageWidth * animationTimePassed
						* 2;
				byte originalPixels[] = background.imagePixels;
				byte shiftedPixels[] = animatedPixels;
				for (int pixel = 0; pixel <= area; pixel++)
					shiftedPixels[pixel] = originalPixels[pixel - difference
							& area];

				background.imagePixels = shiftedPixels;
				animatedPixels = originalPixels;
				Rasterizer.resetTexture(17);
			}
			if (Rasterizer.textureLastUsed[24] >= textureId) {
				Background background = Rasterizer.textureImages[24];
				int area = background.imageWidth * background.imageHeight - 1;
				int difference = background.imageWidth * animationTimePassed
						* 2;
				byte originalPixels[] = background.imagePixels;
				byte shiftedPixels[] = animatedPixels;
				for (int pixel = 0; pixel <= area; pixel++)
					shiftedPixels[pixel] = originalPixels[pixel - difference
							& area];

				background.imagePixels = shiftedPixels;
				animatedPixels = originalPixels;
				Rasterizer.resetTexture(24);
			}
			if (Rasterizer.textureLastUsed[34] >= textureId) {
				Background background = Rasterizer.textureImages[34];
				int area = background.imageWidth * background.imageHeight - 1;
				int difference = background.imageWidth * animationTimePassed
						* 2;
				byte originalPixels[] = background.imagePixels;
				byte shiftedPixels[] = animatedPixels;
				for (int pixel = 0; pixel <= area; pixel++)
					shiftedPixels[pixel] = originalPixels[pixel - difference
							& area];

				background.imagePixels = shiftedPixels;
				animatedPixels = originalPixels;
				Rasterizer.resetTexture(34);
			}
		}
	}