@Override
	public void playYearOfPlentyCard(IPresenter presenter,ResourceType resource1, ResourceType resource2) {
			MoveResponse response=presenter.getProxy().playYearOfPlentyCard(presenter.getPlayerInfo().getIndex(), resource1, resource2, presenter.getCookie());
			if(response != null && response.isSuccessful()) {			
				presenter.updateServerModel(response.getGameModel());
			}
			else {
				System.err.println("Error playing year of plenty in playing state");
			}
	}