types.h 247 B

12345678910111213141516
  1. #ifndef ENTT_LIB_REGISTRY_TYPES_H
  2. #define ENTT_LIB_REGISTRY_TYPES_H
  3. #include <entt/core/attribute.h>
  4. struct ENTT_API position {
  5. int x;
  6. int y;
  7. };
  8. struct ENTT_API velocity {
  9. int dx;
  10. int dy;
  11. };
  12. #endif // ENTT_LIB_REGISTRY_TYPES_H