1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/client/CreatureCostBox.h
FeniksFire f2b7c85811 Adding object construction macro with parameter
- Adding macro "OBJECT_CONSTRUCTION_CAPTURING" that take as parameter
action flag.
- Fixed minor errors
2017-11-14 08:52:33 +01:00

24 lines
547 B
C++

/*
* CreatureCostBox.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 "widgets/Images.h"
#include "../lib/ResourceSet.h"
class CreatureCostBox : public CIntObject
{
public:
void set(TResources res);
CreatureCostBox(Rect position, std::string title);
void createItems(TResources res);
private:
std::map<int, std::pair<CLabel *, CAnimImage * > > resources;
};