mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
save var
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
#include "../../lib/gameState/GameStatistics.h"
|
||||
#include "../../lib/texts/CGeneralTextHandler.h"
|
||||
|
||||
CStatisticScreen::CStatisticScreen(StatisticDataSet statistic)
|
||||
: CWindowObject(BORDERED)
|
||||
CStatisticScreen::CStatisticScreen(StatisticDataSet stat)
|
||||
: CWindowObject(BORDERED), statistic(stat)
|
||||
{
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
||||
pos = center(Rect(0, 0, 800, 600));
|
||||
|
@@ -18,6 +18,8 @@ class CStatisticScreen : public CWindowObject
|
||||
std::shared_ptr<FilledTexturePlayerColored> filledBackground;
|
||||
|
||||
std::vector<std::shared_ptr<CIntObject>> layout;
|
||||
|
||||
StatisticDataSet statistic;
|
||||
public:
|
||||
CStatisticScreen(StatisticDataSet statistic);
|
||||
CStatisticScreen(StatisticDataSet stat);
|
||||
};
|
||||
|
Reference in New Issue
Block a user