ShipyardInstanceConstructor.h 676 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * ShipyardInstanceConstructor.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "CDefaultObjectTypeHandler.h"
  12. #include "../json/JsonNode.h"
  13. #include "../mapObjects/MiscObjects.h"
  14. VCMI_LIB_NAMESPACE_BEGIN
  15. class CGShipyard;
  16. class ShipyardInstanceConstructor final : public CDefaultObjectTypeHandler<CGShipyard>
  17. {
  18. JsonNode parameters;
  19. protected:
  20. void initTypeData(const JsonNode & config) override;
  21. void initializeObject(CGShipyard * object) const override;
  22. public:
  23. };
  24. VCMI_LIB_NAMESPACE_END