@Override
	public void unsetResource(ResourceType resource) {
		Player player = presenter.getClientModel().getServerModel().getPlayerByID(presenter.getPlayerInfo().getID());
		switch(resource.name().toLowerCase()) {
		case "brick":
				this.brickState = 0;
				this.desiredBrick = 0;
				this.offeredBrick = 0;
				this.availableBrick = player.getBrick();
				getTradeOverlay().setResourceAmount(ResourceType.BRICK, "0");
			break;
		case "ore":
				this.oreState = 0;
				this.desiredOre = 0;
				this.offeredOre = 0;
				this.availableOre = player.getOre();
				getTradeOverlay().setResourceAmount(ResourceType.ORE, "0");
			break;
		case "wheat":
				this.wheatState = 0;
				this.desiredWheat = 0;
				this.offeredWheat = 0;
				this.availableWheat = player.getWheat();
				getTradeOverlay().setResourceAmount(ResourceType.WHEAT, "0");
			break;
		case "sheep":
				this.sheepState = 0;
				this.desiredSheep = 0;
				this.offeredSheep = 0;
				this.availableSheep = player.getSheep();
				getTradeOverlay().setResourceAmount(ResourceType.SHEEP, "0");
			break;
		case "wood":
				this.woodState = 0;
				this.desiredWood = 0;
				this.offeredWood = 0;
				this.availableWood = player.getWood();
				getTradeOverlay().setResourceAmount(ResourceType.WOOD, "0");
			break;
			default:
				System.err.println("Error in unset resource for offer trade");
		}
		checkForValidTradeValues();
	}