arsdever/gamify

Refactor metatype and component classes

开放

#60 创建于 2024年9月15日

 (0 条评论) (0 个反应) (0 位负责人)C (0 个派生)auto 404
enhancementgood first issue

仓库指标

星标
 (0 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

As of the implementation currently on scripting_api branch, the metadata and the component classes are within the library component_interface, which is not great. The library itself does not look good and is kinda meaningless. Nevertheless, in the scope of this issue, I want those classes to be moved out from that lib into probably lib project. Some steps needed to be done to achieve that:

  • move metatype registry into metatype class
  • replace type getter in component class to get the type from metatype registry
  • update the CMakeLists file

This should probably be enough to achieve the goal.

贡献者指南