mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
28 lines
720 B
C++
28 lines
720 B
C++
/*
|
|
* CMarketResources.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include "CMarketBase.h"
|
|
|
|
class CMarketResources :
|
|
public CResourcesSelling, public CResourcesBuying, public CMarketSlider, public CMarketTraderText
|
|
{
|
|
public:
|
|
CMarketResources(const IMarket * market, const CGHeroInstance * hero);
|
|
void deselect() override;
|
|
void makeDeal() override;
|
|
|
|
private:
|
|
CMarketBase::MarketShowcasesParams getShowcasesParams() const override;
|
|
void highlightingChanged() override;
|
|
void updateSubtitles();
|
|
std::string getTraderText() override;
|
|
};
|