public void renderMobInWater(int xPos, int yPos, Tile tile, boolean flip, int tileNr) {
	xPos -= xOffset;
	yPos -= yOffset;
	for (int y = 0; y < tile.sprite.SIZE / 2 + 2; y++) {
	    int yp = yPos + y;
	    for (int x = 0; x < tile.sprite.SIZE; x++) {
		int flipX = (flip) ? tile.sprite.SIZE - x - 1 : x;
		int xp = xPos + x;
		if (xp < 0 || xp >= width || yp < 0 || yp >= height) {
		    continue;
		}
		int col = tile.sprite.pixels[flipX + (y + tileNr * tile.sprite.SIZE) * tile.sprite.SIZE];
		if (col != 0xffff00ff) {

		    pixels[xp + yp * width] = col;
		}
	    }
	}
    }