public void renderAbsolute(int xp, int yp, Sprite sprite) {
		if (sprite == null) sprite = Sprite.rock;
		for (int y = 0; y < sprite.HEIGHT; y++) {
			int ya = y + yp;
			int ys = y;
			for (int x = 0; x < sprite.WIDTH; x++) {
				int xa = x + xp;
				int xs = x;
				if (xa < -16 || xa >= width || ya < 0 || ya >= height) break;
				if (xa < 0) xa = 0;
				int col = sprite.pixels[xs + ys * sprite.WIDTH];
				if (col != 0xffFF00FF) pixels[xa + ya * width] = col;
			}
		}
	}