arsdever/gamify

Refactor metatype and component classes

Aperta

#60 aperta il 15 set 2024

 (0 commenti) (0 reazioni) (0 assegnatari)C (0 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (0 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor