载入中...
搜索中...
未找到
HouseGenerator.h
浏览该文件的文档.
21 bool generate(const HouseRequest &request, HouseLayout &out, std::string *error = nullptr) const;
房屋组件注册表(按 id 索引,支持分类/风格查询)。
Definition HouseComponentLibrary.h:12
布局生成器:把 HouseRequest 解析为 HouseLayout(组件库驱动)。
Definition HouseGenerator.h:12
bool generate(const HouseRequest &request, HouseLayout &out, std::string *error=nullptr) const
生成布局;失败返回 false 并写入 error。
Definition HouseGenerator.cpp:120
HouseGenerator(const HouseComponentLibrary *library=nullptr)
绑定可选组件库(生成时也可用 setLibrary)。
Definition HouseGenerator.h:15
Definition HouseComponentLibrary.cpp:10