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