public Inventory(int size) {
		ItemW = 8;
		if (size == EXTRA_SMALL) {
			ItemH = 1;
		}
		if (size == SMALL) {
			ItemH = 4;
		}
		if (size == LARGE) {
			ItemH = 8;
		}
		if (size == EXTRA_LARGE) {
			ItemH = 8;
			ItemW = 12;
		}

		w = ItemW * 8 * 8;
		h = ItemH * 8 * 8;

		x = (def.Frame.WIDTH / 2) - (w / 2);
		y = 20;

		RECTS = new Rectangle[ItemH][ItemW];
		for (int h = 0; h < RECTS.length; h++) {
			for (int w = 0; w < RECTS[h].length; w++) {
				RECTS[h][w] = new Rectangle();
				RECTS[h][w].setSize(32, 32);
				RECTS[h][w].setLocation(x + 16 + (w * 64), y + 128 + 48
						+ (h * 40));
			}
		}
	}