arsdever/gamify

Refactor metatype and component classes

Open

#60 opened on Sep 15, 2024

 (0 comments) (0 reactions) (0 assignees)C (0 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide