mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
add mines support
This commit is contained in:
@@ -62,6 +62,16 @@ public:
|
||||
void randomizeObject(CGResource * object, IGameRandomizer & gameRandomizer) const override;
|
||||
};
|
||||
|
||||
class DLL_LINKAGE MineInstanceConstructor : public CDefaultObjectTypeHandler<CGMine>
|
||||
{
|
||||
JsonNode config;
|
||||
GameResID resourceType;
|
||||
public:
|
||||
void initTypeData(const JsonNode & input) override;
|
||||
|
||||
GameResID getResourceType() const;
|
||||
};
|
||||
|
||||
class CTownInstanceConstructor : public CDefaultObjectTypeHandler<CGTownInstance>
|
||||
{
|
||||
JsonNode filtersJson;
|
||||
|
||||
Reference in New Issue
Block a user