2023-06-06 23:17:39 +02:00
|
|
|
/*
|
|
|
|
* HillFortInstanceConstructor.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
|
|
|
|
|
2023-06-07 23:42:47 +02:00
|
|
|
#include "CDefaultObjectTypeHandler.h"
|
2024-02-11 23:09:01 +02:00
|
|
|
#include "../json/JsonNode.h"
|
2024-01-10 21:30:12 +02:00
|
|
|
#include "../mapObjects/MiscObjects.h"
|
2023-06-06 23:17:39 +02:00
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
2023-06-07 23:42:47 +02:00
|
|
|
class HillFort;
|
|
|
|
|
|
|
|
class HillFortInstanceConstructor final : public CDefaultObjectTypeHandler<HillFort>
|
2023-06-06 23:17:39 +02:00
|
|
|
{
|
|
|
|
JsonNode parameters;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void initTypeData(const JsonNode & config) override;
|
2023-06-07 23:42:47 +02:00
|
|
|
void initializeObject(HillFort * object) const override;
|
2023-06-06 23:17:39 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_END
|