public void renderSquare(int xp, int yp, int w, int h, int color) {
		yp = this.height - yp;
		yp-=h;
		for (int y = 0; y < h; y++) {
			for (int x = 0; x < w; x++) {
				paintPixel(x + xp, y +yp, color);
			}
		}
	}