// // AniMapAdventureObjectParser.h // WattsenglishFoodApp // // Created by Katarzyna Kalinowska-Górska on 21/03/2020. // #ifndef MapAdventureObjectMapper_h #define MapAdventureObjectMapper_h #include "IMapAdventureObject.h" #include "AniJSONParseUtils.h" #include "IMapAdventureObjectMapper.h" class BasicGardenMapAdventureObjectMapper : public IMapAdventureObjectMapper { public: IMapAdventureObject* createObject(const rapidjson::Value& p_mapObjectData, IMapAdventureImageObjectLinker* p_linker) override; protected: IMapAdventureObject* createObjectFromTypeName(const std::string& p_objectTypeName, const rapidjson::Value& p_mapObjectData, IMapAdventureImageObjectLinker* p_linker); }; #endif /* AniMapAdventureObjectParser_h */