public void renderTile(int xx, int yy, Tile tile){
		xx *= 32;
		yy *= 32;
		for(int y = 0; y < tile.sprite.SIZE; y++){
			int ya = y + yy - yOffset;
			for(int x = 0; x < tile.sprite.SIZE; x++){
				int xa = x + xx - xOffset;
				if(xa < 0 || xa >= width || ya < 0 || ya >= height) continue;
				pixels[xa + ya * width] = tile.sprite.pixels[x + y * tile.sprite.SIZE];
			}
		}
	}