arsdever/gamify

Refactor metatype and component classes

Ouverte

#60 ouverte le 15 sept. 2024

 (0 commentaire) (0 réaction) (0 personne assignée)C (0 fork)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (0 étoile)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur