types.h 307 B

123456789101112131415161718192021
  1. #ifndef ENTT_PLUGIN_META_TYPES_H
  2. #define ENTT_PLUGIN_META_TYPES_H
  3. #include <entt/meta/meta.hpp>
  4. struct position {
  5. int x{};
  6. int y{};
  7. };
  8. struct velocity {
  9. double dx{};
  10. double dy{};
  11. };
  12. struct userdata {
  13. entt::meta_ctx ctx;
  14. entt::meta_any any;
  15. };
  16. #endif // ENTT_PLUGIN_META_TYPES_H