@Override
	public void mouseWheelMoved(MouseWheelEvent e) {
		if (e.getScrollType() == MouseWheelEvent.WHEEL_UNIT_SCROLL && e.getWheelRotation() > 0) { // If scrolling down
			if (game.getInv().itemSelected > 0) { // If the tileSelection is greater than 0
				game.getInv().itemSelected--; // Lower tileSelection
			} else { // If not
				game.getInv().itemSelected = (byte) (game.getInv().resourceNames.length - 1); // Set the tileSelection back to maximum
			}
		} else if (e.getScrollType() == MouseWheelEvent.WHEEL_UNIT_SCROLL && e.getWheelRotation() < 0) { // If scrolling up
			if (game.getInv().itemSelected < (byte) (game.getInv().resourceNames.length - 1)) { // If tileSelection is lower than the maximum tiles
				game.getInv().itemSelected++; // Increase tileSelection
			} else { // If not
				game.getInv().itemSelected = 0; // Set to 0
			}
		}
	}