public void update() {
		int wheel = Mouse.getDWheel();
		if (wheel < 0) {
			counter -= 1;
			if (counter < 0) {
				counter = 3;
			}
		} else if (wheel > 0) {
			counter += 1;
			if (counter > 3) {
				counter = 0;
			}
		}

		//The selector.
		switch (counter) {
		case 0:
			rectX = Game.screenWidth - 100 - extraX;
			rectY = Game.screenHeight - 150 - extraY;
			break;
		case 1:
			rectX = Game.screenWidth - 150 - extraX;
			rectY = Game.screenHeight - 100 - extraY;
			break;
		case 2:
			rectX = Game.screenWidth - 100 - extraX;
			rectY = Game.screenHeight - 50 - extraY;
			break;
		case 3:
			rectX = Game.screenWidth - 50 - extraX;
			rectY = Game.screenHeight - 100 - extraY;
			break;
		}

		for (Item inv : smallInv) {
			if (inv != null) {
				if (getItemSlot(inv) == 0) {
					inv.setBounds(Game.screenWidth - 95, Game.screenHeight - 145);
				} else if (getItemSlot(inv) == 1) {
					inv.setBounds(Game.screenWidth - 145, Game.screenHeight - 95);
				} else if (getItemSlot(inv) == 2) {
					inv.setBounds(Game.screenWidth - 95, Game.screenHeight - 45);
				} else if (getItemSlot(inv) == 3) {
					inv.setBounds(Game.screenWidth - 45, Game.screenHeight - 95);
				}

				if (counter == getItemSlot(inv) && Mouse.isButtonDown(0) && Player.playerRange) {
					inv.use();
				}
			}

		}

	}